create pywintypes.CreateGuid() compatible guids on Linux ?

G

GHUM

Hello,

I created lots of guids via pywintypes.CreateGuid() on windows.

Now I would like to run the same software on Linux / Solaris /
FreeBSD.

So I should produce "compatible" GUIDS on that systems. "compatible"
having the meaining: "Providing similiar likelehood of collisions".

of course "google python guid" leads directly to
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/163604,
but ... will it blend?

any ideas what could help me to research?

Harald
 
C

Chris Mellon

Hello,

I created lots of guids via pywintypes.CreateGuid() on windows.

Now I would like to run the same software on Linux / Solaris /
FreeBSD.

So I should produce "compatible" GUIDS on that systems. "compatible"
having the meaining: "Providing similiar likelehood of collisions".

of course "google python guid" leads directly to
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/163604,
but ... will it blend?

any ideas what could help me to research?


The uuid module, in Python 2.5 and up, provides RFC compliant UUID
generation. See the module docs and the RFC for details.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top