In Python, we can easily create it by using uuid module that is included in Python standard library as following example:
import uuid ob = uuid.uuid4() print str(ob)There are 4 kinds of uuids in Python: uuid1(), uuid3(), uuid4(), and uuid5() that you can take a look for more details at http://docs.python.org/library/uuid.html.
Thanks. Easy straight-forward example.
ReplyDeleteThank you for your comment ^^. Personally, I really like to write a short post and easy to follow.
Delete