Re: [Tutor] Data chart

2014-11-20 Thread Adam Jensen
import fileinput def parseLine(a): x = a.split('/') b = x[1].split(':') c = b[0].split('.') y = c[0] z = int(b[2]) return x[0], y, z print('{:>4}{:>10}{:>8}{:>8}'.format('','canofica','lnvd','msd')) data = [0, 0, 0] prevDate = "None" for line in fileinput.input():

Re: [Tutor] Data chart

2014-11-19 Thread Peter Otten
Mamy Rivo DIANZINGA wrote: > Good morning Sir. Excuse me to bother you but i was wondering if you can > help me, please Sir. > I am looking for a script (in python or fortran...) which can turn the > data from Iter.dat, that i joined for you, $ cat Iter.dat 10_2/canofica.out: No iterations CP: