[Tutor] reading 2nd line

Magnus Lycka magnus@thinkware.se
Sun Jan 26 16:51:01 2003


At 12:48 2003-01-26 -0800, Danny Yoo wrote:
>Yes, you may want to look at the function 'open()'

Or "file()" which is now the preferred name.

>For simple files, string splitting will work.  However, there is a
>specialized third-party Python module that does CSV files:
>
>     http://www.object-craft.com.au/projects/csv/

Actually, there are at least three:

ASC, CSV and DSV. The others can be found at:
http://tratt.net/laurie/python/asv/ and
http://python-dsv.sf.net

CSV is fastest though, being implemented in C. Might
be the simplest to use as well.


-- 
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se