Re: [Tutor] Printing columns of data

2005-02-08 Thread Alan Gauld
> So I wrote the program included below and it only prints the last line > of the file. > I have one question. Do I need to put ts and pe into a list before I > print then to screen or I am just missing something. Thanks. You just need to indent your last print statement so it is inside the loop

Re: [Tutor] Printing columns of data

2005-02-08 Thread Bob Gailer
At 01:03 PM 2/8/2005, Kooser, Ara S wrote: Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="_=_NextPart_001_01C50E19.4E45912A" Hello all,    I am writing a program to take a data file, divide it up into columns and print the information back w

Re: [Tutor] Printing columns of data

2005-02-08 Thread Kent Johnson
Kooser, Ara S wrote: Hello all, I am writing a program to take a data file, divide it up into columns and print the information back with headers. The data files looks like this 0.0 -3093.44908 -3084.59762 387.6432926.38518 0.3902434E+00 -0.6024320E-04 0.4529416E-05 1.0 -3

[Tutor] Printing columns of data

2005-02-08 Thread Kooser, Ara S
Title: Printing columns of data Hello all,    I am writing a program to take a data file, divide it up into columns and print the information back with headers. The data files looks like this   0.0 -3093.44908 -3084.59762   387.64329    26.38518  0.3902434E+00 -0.6024320E-04  0.4529416