Created
September 12, 2021 13:27
-
-
Save AxelStein/7f0de508bcddb8ba60f09f79483d7cc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sized_unique_id = (uuid.uuid4().int >> 64).__str__()[0:16] | |
print( | |
"{}-{}-{}-{}".format(sized_unique_id[0:4], sized_unique_id[4:8], | |
sized_unique_id[8:12], sized_unique_id[12:]) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment