python模块整理30-uui模块

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()))

posted on 2014-09-24 17:10  @Jin  阅读(215)  评论(0编辑  收藏  举报

导航