python 生成唯一识别码

import uuid
identity = str(uuid.uuid4()).encode('ascii')
原文地址:https://www.cnblogs.com/callyblog/p/10388573.html