durusmail: quixote-users: Bug in win32com importing under Quixote
Bug in win32com importing under Quixote
2005-01-04
Bug in win32com importing under Quixote
Daniele Varrazzo
2005-01-04
I use Quixote, among other things, to generate server-side Excel worksheets and
provide updatable reports to my users; on a windows platform through com, of
course.

Switching to Quixote 1.2 from some older release, this statement stopped
working:
import win32com.client

The exception raised is:
ImportError: No module named pythoncom

I think the problem is similar to the Zope issue i read many times on the
mailing list: importing the module before calling enable_ptl() fixes the thing.
Because this simple workaround, i don't think the need for a bug fix is
pressing: i'm reporting the issue for information purpose.

Regards,

Daniele


reply