python 生成唯一识别码

import uuid
identity = str(uuid.uuid4()).encode('ascii')

 

posted @ 2019-02-16 17:53  下路派出所  阅读(1247)  评论(0编辑  收藏  举报