Re: [Tutor] True Random Numbers

2010-11-03 Thread Modulok
On 11/2/10, Crallion wrote: > 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 > from urllib import urlo

Re: [Tutor] True Random Numbers

2010-11-02 Thread Steven D'Aprano
Crallion wrote: In an attempt to generate "true" random numbers, Have you considered using your operating system's source of random numbers? random.SystemRandom and os.urandom return numbers which are cryptographically sound. They are also based on various sources of physical randomness (whi

Re: [Tutor] True Random Numbers

2010-11-02 Thread Christian Witts
On 02/11/2010 11:29, Crallion wrote: 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 from urllib import urlo