Thales Albert0
Thales Albert0

Reputation: 101

Real random python numbers

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?

Upvotes: 0

Views: 126

Answers (1)

Alain T.
Alain T.

Reputation: 42143

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.

Upvotes: 3

Related Questions