¡@

Home 

python Programming Glossary: uuid1

When should I use uuid.uuid1() vs. uuid.uuid4() in python?

http://stackoverflow.com/questions/1785503/when-should-i-use-uuid-uuid1-vs-uuid-uuid4-in-python

should I use uuid.uuid1 vs. uuid.uuid4 in python I understand the differences between.. understand the differences between the two from the docs. uuid1 Generate a UUID from a host ID sequence number and the current.. and the current time uuid4 Generate a random UUID. So uuid1 uses machine sequence time info to generate a UUID. What are..

Extract the time from a UUID v1 in python

http://stackoverflow.com/questions/3795554/extract-the-time-from-a-uuid-v1-in-python

Looking inside usr lib python2.6 uuid.py I see def uuid1 node None clock_seq None ... nanoseconds int time.time 1e9 #.. 100 1e9 So I try In 3 import uuid In 4 u uuid.uuid1 In 58 datetime.datetime.fromtimestamp u.time 0x01b21dd213814000L..