lundi 30 octobre 2017

(micro)python random module importError

I want to generate a random number between x and y int (micropython for esp), but

import random

gives the following error:

ImportError: no module named 'random'

I've seen some things online about this but no concrete solution. Does anyone have any idea how to fix this?

Thanks!




Aucun commentaire:

Enregistrer un commentaire