On Nov 10, 2005, at 10:05 AM, Dethe Elza wrote: > > On 10-Nov-05, at 5:01 AM, <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> wrote: > >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:pythonmac-sig- >> [EMAIL PROTECTED] On Behalf Of Kirk Durston >> Sent: Thursday, November 10, 2005 2:00 AM >> To: pythonmac-sig@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 _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig