Python中使用UUID

import uuid
...
...
print uuid.uuid1()

 

生成的方法还有uuid2..n,具体参见官网LINK,包括参数细则

posted @ 2015-11-30 11:45  HONT  阅读(341)  评论(0编辑  收藏  举报