[Tutor] True Random Numbers

Crallion crallionx at gmail.com
Tue Nov 2 10:29:18 CET 2010


In an attempt to generate "true" random numbers, I found this python script- http://code.google.com/p/truerandom/
Getting to the point, I get this error when I run my program.

File "/dev/python/absolute/truerandom.py", line 9, in <module>
    from urllib import urlopen
ImportError: cannot import name urlopen

Is urllib and/or urlopen deprecated in 3.1.2 or is it something I forgot to do?
Python is running on OSX 10.6, which I upgraded from the default install to 3.1.2.


More information about the Tutor mailing list