如何在Python中创建GUID / UUID
问题: How do I create a GUID in Python that is platform independent? 如何在Python中创建独立于平台的GUID? I hear there is a method using ActivePython on Windows but it's Windows only because it uses COM. 我听说有一种方法在Windows上使用ActivePython,但它只是Windows,因为它使用COM。 Is there a method using plain Python? 有没有使用普通Python的方法? 解决方案: 参考一: https://stackoom.com/question/2F8R/如何在Python中创建GUID-UUID 参考二: https://oldbug.net/q/2F8R/How-to-create-a-GUID-UUID-in-Python 来源: oschina 链接: https://my.oschina.net/u/4438370/blog/4404750