[python-win32] Re-registering python COM servers

Scott Prive scottprive at earthlink.net
Sun May 4 17:47:44 EDT 2003


A side question:- what's the best way to generate new GUIDs? Currently I
use the Create GUI tool from Visual Studio.

Thanks, Craig

There's a builtin method for it:

>>> import pythoncom
>>> print pythoncom.CreateGuid()
{guid string output here...}

(example courtesy "Python Programming on Win32" page 71)
-Scott



More information about the Python-win32 mailing list