Skip to content

Instantly share code, notes, and snippets.

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:])
)