newbie - script works in PythonWin - fails from Python

marcus.tettmar at gmail.com marcus.tettmar at gmail.com
Fri Feb 3 12:18:57 EST 2006


Hi,

Sorry, I'm not trying to make things hard!  I just can't figure why it
works when run from PythonWin and not from Python - PythonWin MUST load
some extra library.

Anyway, I have finally fixed it by adding import win32com to the top of
the script.  Am guessing the DLL uses COM and PythonWin must already
load it.




More information about the Python-list mailing list