[Pythonmac-SIG] inputing multi-digit numbers

Bob Ippolito bob at redivi.com
Thu Nov 10 19:18:35 CET 2005


On Nov 10, 2005, at 10:05 AM, Dethe Elza wrote:

>
> On 10-Nov-05, at 5:01 AM, <Henning.Ramm at mediapro-gmbh.de>
> <Henning.Ramm at mediapro-gmbh.de> wrote:
>
>>
>> -----Original Message-----
>> From: pythonmac-sig-bounces at python.org [mailto:pythonmac-sig-
>> bounces at python.org] On Behalf Of Kirk Durston
>> Sent: Thursday, November 10, 2005 2:00 AM
>> To: pythonmac-sig at python.org
>> Subject: [Pythonmac-SIG] inputing multi-digit numbers
>>
>> I’m having a hard time figuring out how to input a list of numbers,
>> each one of which can be 1, 2, or 3 digits in length. First, I
>> select a column in an Excel file, and copy and past it into a Word
>> file. I then save it as a text file.
>
> Wouldn't it be simpler to use Excel to export as CSV and use python's
> csv module to read them in?
>
> http://python.org/doc/current/lib/module-csv.html
>
> I don't understand why Word is involved in getting numbers from Excel
> to Python.

I use this to convert excel to xml, and parse that from Python.
http://www.andykhan.com/jexcelapi/

-bob



More information about the Pythonmac-SIG mailing list