Last active
April 2, 2023 10:10
-
-
Save dacr/13c4fb1152e21e93f8b89abc048c0e2f to your computer and use it in GitHub Desktop.
Simple script to generate an UUID using python / published by https://github.com/dacr/code-examples-manager #ef84b67e-40e1-4c8a-bbf9-84dab343e73b/5fd459fc8bee33ff6c53dc37bf87795bb3d296fb
This file contains hidden or 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
#!/usr/bin/env python3 | |
## summary : Simple script to generate an UUID using python | |
## keywords : scala, uuid, @testable | |
## publish : gist | |
## authors : David Crosson | |
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
## id : ef84b67e-40e1-4c8a-bbf9-84dab343e73b | |
## created-on : 2022-03-31T08:02:37+02:00 | |
## managed-by : https://github.com/dacr/code-examples-manager | |
## run-with : python3 $file | |
import uuid | |
uuid = uuid.uuid4() | |
print(str(uuid)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment