Generating non-repeating random numbers in Python

前端 未结 17 1772
粉色の甜心
粉色の甜心 2020-11-30 19:56

Ok this is one of those trickier than it sounds questions so I\'m turning to stack overflow because I can\'t think of a good answer. Here is what I want: I need Python to ge

17条回答
  •  囚心锁ツ
    2020-11-30 20:49

    Bit late answer, but I haven't seen this suggested anywhere.

    Why not use the uuid module to create globally unique identifiers

提交回复
热议问题