Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import uuid
- namespace_types = sorted(n
- for n in dir(uuid)
- if n.startswith('NAMESPACE_')
- )
- name = 'www.altsci.com'
- for namespace_type in namespace_types:
- print namespace_type
- namespace_uuid = getattr(uuid, namespace_type)
- print ' ', uuid.uuid3(namespace_uuid, name)
- print ' ', uuid.uuid3(namespace_uuid, name)
- print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement