i need to create random numbers in python, i have been using the random
library, but is this library really random or is it just pseudo random? and if it is pseudo random how can I get real random numbers in python?
Asked
Active
Viewed 96 times
0

Thales Albert0
- 91
- 1
- 9
-
https://stackoverflow.com/questions/22891583/can-i-generate-authentic-random-number-with-python – ddejohn Feb 21 '21 at 01:13
-
https://docs.python.org/3/library/random.html – ddejohn Feb 21 '21 at 01:13
-
Does this answer your question? [Can I generate authentic random number with python?](https://stackoverflow.com/questions/22891583/can-i-generate-authentic-random-number-with-python) – Peter O. Feb 21 '21 at 13:22
1 Answers
3
All computer generated random numbers are pseudo-random. If you want a more "randomized" version, you can use the secrets module instead of the random module.

Alain T.
- 40,517
- 4
- 31
- 51