Generating a unique identifier

Will Maier willmaier at ml1.net
Fri Sep 7 14:14:34 CEST 2007


On Fri, Sep 07, 2007 at 12:03:23PM -0000, Steven D'Aprano wrote:
[...]
> which is easy enough, but I thought I'd check if there was an existing 
> solution in the standard library that I missed. Also, for other 
> applications, I might want them to be rather less predictable.

2.5 includes the uuid module for RFC 4122 universally-unique IDs:

    http://docs.python.org/lib/module-uuid.html

-- 

[Will Maier]-----------------[willmaier at ml1.net|http://www.lfod.us/]



More information about the Python-list mailing list