Newbie: Win32 COM problem
Mark Hammond
skippy.hammond at gmail.com
Wed Aug 25 21:08:11 EDT 2010
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.
HTH,
Mark
More information about the Python-list
mailing list