Platform-independent GUID creation?

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

"Steve Holden" <sholden at> 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.


Michael Piotrowski, M.A.                                  <mxp at>

More information about the Python-list mailing list