import uuid # 生成一个随机的UUID guid = uuid.uuid4() print(guid)