Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Create Guid Python

import uuid

# make a random UUID
uuid.uuid4()
UUID('bd65600d-8669-4903-8a14-af88203add38')

# Convert a UUID to a string of hex digits in standard form
str(uuid.uuid4())
'f50ec0b7-f960-400d-91f0-c42a6d44e3d0'

# Convert a UUID to a 32-character hexadecimal string
uuid.uuid4().hex
'9fe2c4e93f654fdbb24c02b15259716c'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Create #Guid #Python
ADD COMMENT
Topic
Name
7+2 =