Yes, that was it. I just needed to restart the host process.
Thanks
"Mark Hammond" wrote in message
news:mailman.51.1282784920.29448.python-l...@python.org...
> On 25/08/2010 10:33 PM, Paul Hemans wrote:
>>File "C:\development\PyXLS\pyXLS.py", line 13, in createSheet
>> def createBook(s
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 sourc
Simple class to wrap the xlwt module for COM access
pyXLS.py:
from xlwt import Workbook
class WrapXLS:
_reg_clsid_ = "{c94df6f0-b001-11df-8d63-00e09103a9a0}"
_reg_desc_ = "XLwt wrapper"
_reg_progid_ = "PyXLS.Write"
_public_methods_ =
['createBook','createSheet','writeSheetCell',