GUID Generators for non-Windows systems?

Michael Hudson mwh21 at cam.ac.uk
Sat Nov 4 08:10:56 EST 2000


Mike Fletcher <mfletch at tpresence.com> writes:

> I've been looking at using GUID generators in a project, they work fine for
> Win32 systems (where I use pythoncom.CreateGUID() then convert to a long
> integer), but I haven't been able to locate a cross platform library for
> generating the IDs.  Realistically, I only need Linux, Mac and Win32, but
> would prefer something easily portable.

I have a proggie called "uuidgen" that's part of "e2fsprogs" on my
redhat 6.1 box.  Maybe you can find the source, or just call os.system
for it?

Cheers,
M.

-- 
  Q: What are 1000 lawyers at the bottom of the ocean?
  A: A good start.
  (A lawyer told me this joke.)
                                  -- Michael Ströder, comp.lang.python



More information about the Python-list mailing list