Sep-10-2019, 09:36 PM
(Sep-10-2019, 03:33 PM)snippsat Wrote: Can use uuid.
It provides the uniqueness as it generates ids on the basis of time,Computer hardware (MAC etc.).
>>> import uuid >>> >>> str(uuid.uuid4())[:6] '5a7fce'Quote:especially in Python 2.7Then stop using Python 2.7
Yes but UUID is different everytime u run it.
I need the same I'd to be generated everytime for the same platform.
About py2.7 I wish u could come n tell those people chg to py3 !