python模块整理30-uui模块

时间:2024-01-16 21:27:14

http://www.cnblogs.com/dkblog/archive/2011/10/10/2205200.html
http://blog.csdn.net/zhaoweikid/article/details/1649786

 #-*- encoding: gb2312 -*-
import uuid print uuid.uuid1()
print uuid.uuid3(uuid.NAMESPACE_DNS, 'testme')
print uuid.uuid4()
print uuid.uuid5(uuid.NAMESPACE_DNS, 'testme')

print uuid.uuid3(uuid.NAMESPACE_DNS,str(time.time()))