Re: Formatting input text file

2008-08-14 Thread Gerard flanagan
[EMAIL PROTECTED] wrote: Hi, it's me again with tons of questions. I hava an input file structured like this: X XYData-1 1. 3.08333 2. 9.05526 3. 3.13581

RE: Formatting input text file

2008-08-14 Thread Edwin . Madari
save following code in script.py, and run it as 'python script.py ' with your sample data this prints out following which is what you are looking for (i think) 3.08333 9.05526 3.13581 4.08322 4.02526 3.95891 import sys data = [] row = [] f

Re: Formatting input text file

2008-08-14 Thread brad
[EMAIL PROTECTED] wrote: Hi, it's me again with tons of questions. I hava an input file structured like this: X XYData-1 1. 3.08333 > number1 number2 number3 number4 number5 number6 split is your friend. -- http://mail