1

I've generated uuid's by uuid.uuid1() in Python and they all look pretty similar. Why is that? How to randomize them?

enter image description here

hjpotter92
  • 78,589
  • 36
  • 144
  • 183
Torito
  • 305
  • 1
  • 11

1 Answers1

5

That is because the uuid1 is generated from your machine ID and time stamp and the machine ID in your case remains constant, that's why they look pretty similar at the end. You may use uuid4() to get a random unique uuid.

ZdaR
  • 22,343
  • 7
  • 66
  • 87