[Tutor] Re: timer vs. timeout - struct.unpack

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Tue Aug 10 02:35:07 CEST 2004



On Tue, 10 Aug 2004, goluptious wrote:

> BTW, the script now runs in Windows if I drop in a UUID generated in
> Linux. I still haven't found a good cross-platform UUID generator.

Hi Goluptious,


There's a quick and dirty UUID generator in the Python Cookbook:

    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/213761

That snippet does not generate ISO-11578-standard UUID's, but it should
still be useful.  There's also a a nice blog article that talks about UUID
issues here:

http://blog.voiceofhumanity.net/newslog2.php/_v252/__show_article/_a000252-000040.htm



More information about the Tutor mailing list