Platform-independent GUID creation?

Michael Piotrowski mxp at dynalabs.de
Thu Dec 13 05:09:57 EST 2001


"Steve Holden" <sholden at holdenweb.com> writes:

> Does anyone have a readily-portable equivalent to the pythoncom.CreateGuid()
> function?

On UNIX platforms that have DCE (most do, I think) you can use the
uuid_* functions; on Linux you can use the UUID functions from
e2fsutils or FreeDCE.  I haven't used them from Python, but I've just
written a Perl XS module that uses either DCE or e2fsutils.

HTH

-- 
Michael Piotrowski, M.A.                                  <mxp at dynalabs.de>



More information about the Python-list mailing list