vendredi 13 avril 2018

Python - what is the difference between random and random2 modules?

when I was unable to install random module (via sudo pip install random command), I looked around and see that random2 is the new module (backported from Python3 into Python2?).

I am able to run sudo pip install random2 without any problems. My question however is - Is python2 a substitute for python and therefore the first install failure is not an issue? Or is it?

Please let me know. Thanks!




Aucun commentaire:

Enregistrer un commentaire