uuid

泄露秘密 提交于 2019-12-08 21:40:46
#_author:来童星#date:2019/12/8#1.回顾class school:    def __init__(self,name):        self.name=name    def __str__(self):        return self.names1=school('shanghai')s2=school('beijing')print(s1,s2)# shanghai beijing#2.uuidimport uuidprint(uuid.uuid1())# e62a6fb6-19bf-11ea-b069-907841064ab5print(uuid.uuid1())# e62ae49a-19bf-11ea-9cfd-907841064ab5print(uuid.uuid1())# e62ae49b-19bf-11ea-b3a2-907841064ab5print(uuid.uuid1())# e62ae49c-19bf-11ea-a03b-907841064ab5
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!