Python: Force-Cast Long to Int32

前端 未结 0 626
死守一世寂寞
死守一世寂寞 2020-11-30 02:48

I am generating a random seed.

Python3 grinds to a halt if I:

numpy.random.seed(time.time_ns())

# or

numpy.random.seed(int(time.time_ns())

# and

nu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题