Problem reading csv files

Ramashish Baranwal ramashish.lists at gmail.com
Sat Jan 5 01:41:44 EST 2008


>
> XLS != CSV
> XLS is M$'s format for spreadsheets whereas CSV is essentially a text
> document with comma-delimited fields.  If you open it up in OpenOffice
> and go File -> Save As then in the 'Save as type:' drop-down list
> select 'Text CSV (.csv)' and ofc change your code to point to the new
> file.
>
> If you want to retain it in XLS Format and rather parse that, take a
> look at 'xlrd' and 'pyExcelerator'

Thanks for the reply. I made the mistake of assuming XLS = CSV :)

Ram



More information about the Python-list mailing list