def generateGuid():
"""Gets a random GUID.
Note: python's UUID generation library is used here.
Basically UUID is the same as GUID when represented as a string.
:Returns:
str, the generated random GUID.
a=GenerateGuid()
import uuid
print a
print uuid.UUID(a).hex
"""
return str(uuid4())
评论列表
文章目录