Newbie: Win32 COM problem
darwin at nowhere.com
Thu Aug 26 04:17:40 CEST 2010
Yes, that was it. I just needed to restart the host process.
"Mark Hammond" <skippy.hammond at gmail.com> wrote in message
news:mailman.51.1282784920.29448.python-list at python.org...
> On 25/08/2010 10:33 PM, Paul Hemans wrote:
>> File "C:\development\PyXLS\pyXLS.py", line 13, in createSheet
>> def createBook(self):
>> AttributeError: WrapXLS instance has no attribute '_book'
>> pythoncom error: Python error invoking COM method.
>> Can anyone help?
> That line seems an unlikely source of the error. Note that as win32com
> uses an in-process model by default, your problem may be that you changed
> your implementation but didn't restart the hosting process - and therefore
> are still using an earlier implementation.
More information about the Python-list