Read tab delimited ascii file

Irvine, Wayne D Wayne.D.Irvine at BHPBilliton.com
Wed May 11 18:42:49 EDT 2005


I have a tab delimited ascii/excel file formated like

LineNum  Data1    Data2...  Data423
Line001    Val1_1  Val2_1... Val423_1
Line002    Val1_2  Val2_2... Val423_2
...
Linennn...

I want to read the headers/column names in the first line of the file
and later refer to these by name. And of course I need to store the
column of data that belongs to each header/column name. Eventually I
want to produce a series of plots where the x axis will always be
LineNum and I will select a subsection of the Data columns to plot the
values of.

Any help is much appreciated.

Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050512/d08a2d5d/attachment.html>


More information about the Python-list mailing list