create pywintypes.CreateGuid() compatible guids on Linux ?

Chris Mellon arkanes at gmail.com
Tue Nov 27 14:23:15 EST 2007


On Nov 27, 2007 1:09 PM, GHUM <haraldarminmassa at gmail.com> wrote:
> 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.



More information about the Python-list mailing list