CherryPy not playing nicely with win32com?

infidel saint.infidel at gmail.com
Mon Nov 14 09:53:12 EST 2005


> Just an idea: because in CherryPy it is running in multithreading mode?
> If you are using threads together with COM stuff, you will have to
> add pythoncom.CoInitialize() and pythoncom.CoUninitialize() calls
> in your code -- for each thread.

That worked perfectly.  Thanks a million!

I used to hate COM just because of our huge VB project.  Now I can hate
it for this too!




More information about the Python-list mailing list