[Tutor] Parsing text file?

Kooser, Ara S askoose at sandia.gov
Thu Apr 15 14:35:29 EDT 2004


Hello,

  I have finished the filter program which removes the header in original
file. I now need to remove the first column of data and then convert the
second. Is parsing right for this? Are there good websites for me to read or
books on this? I am trying to write as much of my own code as possible and
ask questions. ;)  Thanks. This is on Python 2.3.3. 

My data files looks like this:
16
1  1  0.00000  0.68337  0.25020
2  2  0.00000  0.29020  0.25020
3  3  0.00000  0.08104  0.25020
4  4  0.00000  0.00000  0.25020
Etc...

Ara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20040415/cb75c960/attachment-0001.html


More information about the Tutor mailing list