Thank you both! That seems to make my code much more clear... I thought
it was foolish writing files, but I just couldn't determine how to
parse the data!

Kent, one thing, regarding:
        x = []
        t = []
        for l in data[stind:-1]:
                l = l.split()  # Split on whitespace
                tval = float(l[0])
                t.append(tval)
                xval = float(l[24])
                x.append(xval)

note that I had to change to [stind:-1] I believe I must have a blank
line at the end of the file... 

.j


________________________________________________________________________
Interested in getting caught up on today's news?
Click here to checkout USA TODAY Headlines.
http://track.juno.com/s/lc?s=198954&u=http://www.usatoday.com/news/front.htm?csp=24


_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to