ailto:[EMAIL PROTECTED] On Behalf
Of Steve M
Sent: Wednesday, November 02, 2005 3:56 PM
To: python-list@python.org
Subject: Re: convert COM obj to integer
I don't know exactly what a COM object is, but those aren't them. The
win32com package takes care of converting everything to Python types.
I don't know exactly what a COM object is, but those aren't them. The
win32com package takes care of converting everything to Python types.
The excel call returns a tuple of tuples. That is, the outer tuple is
the sequence of rows, and each such row is itself a tuple with one
member per column requ
I'm pulling a range of cells from Excel into a list and the data in
Excel is a number or possibly some text like an asterisk. Each member
of the list is a com object (I think) and I'm converting them to
integers (or to None if not numberic) but my method seems very silly.
Is this the best way to g