Re:Making Python Less Random
by Joker_vD on Friday July 12, 2024 @09:27AM
(#40945376)
Of course, this doesn't help with someone (e.g. me) who prefers to get their random numbers by reading them from /dev/random:
There is also /dev/urandom.
[ Parent
| on HN ]
os.urandom does read from /dev/urandom: https://docs.python.org/3/library/os.html#os.urandom
Re:Making Python Less Random
by skinner927 on Saturday July 13, 2024 @08:44AM
(#40953780)
From kernel 5.18 onwards, /dev/random and /dev/urandom are exactly the same.