I wrote the attached python (3) code to improve on existing prng functions.
I used the time module for one method, which resulted in
disproportionate odd values, but agreeable means.

I used the hashlib module for the second. It is evident that the code is
amateur, but the program might result in better PRN generation.

The "app" lends itself to checking, using statistical tools (see comments.)

I remain a fan,

James Johnson

Attachment: testrandom.py
Description: Binary data

_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/VENAT2YTVYVHTBSEVHHMIURCU6MG2CEO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to