Can I generate authentic random number with python?

前端 未结 4 1174
花落未央
花落未央 2020-12-06 07:12

I\'m learning random module of python. And I know it generates pseudo random number. Which its core idea is to use a high-frequency clock as a seed and then use a function t

4条回答
  •  [愿得一人]
    2020-12-06 07:54

    Truly random numbers can be generated from

    https://pypi.python.org/pypi/quantumrandom/

    pip install quantumrandom
    

    Currently you are limited to blocks of 1024 but with a bit of simple programming and a little bit of time you will be able to extend this limit to a large enough sample for most applications.

提交回复
热议问题