http://www.cnblogs.com/dkblog/archive/2011/10/10/2205200.html
http://blog.csdn.net/zhaoweikid/article/details/1649786
1 #-*- encoding: gb2312 -*- 2 import uuid 3 4 print uuid.uuid1() 5 print uuid.uuid3(uuid.NAMESPACE_DNS, 'testme') 6 print uuid.uuid4() 7 print uuid.uuid5(uuid.NAMESPACE_DNS, 'testme')
print uuid.uuid3(uuid.NAMESPACE_DNS,str(time.time()))