Win32 and EXCEL

pekka niiranen krissepu at vip.fi
Mon Jan 28 02:16:13 EST 2002


Has anybody found a solution to this:

When reading a range from Excel into Python,
text is returned as unicode and integer values as decimals.
How can I make Excel to return integer numbers as integers.
If I have a value 1 in cell it is read as 1.0 into python.

Changing cell format in Excel into text does not help.

I am using "table = range(plah, plah).Value" -command
as explained in Mark Hammond's book.

The problem could be in Excel's Value -method

-pekka-





More information about the Python-list mailing list