What You Don’t Know About Python’s Secrets
Why and when we should not use “random” but “secrets”?
Published in
7 min readJan 21, 2024
If you work in the realm of data science and analytics, I guess you must have used the random
module in Python a lot, like me. Indeed, it is very useful when we need to do some simulations, data sampling, and various other statistical algorithms.