Hi guys!
I just arrived here on this forum, and I hope you people can help me a bit with Python.

What I want is to edit a few large text files, by adding in front of each row the concerning rownumber. What I find out myself (not much..) is:

infile = open('infile.tx t')
outfile = open('outfile.t xt','w')
for i in range(len(infil e)):
infile[i] = str(i) + ' ' + cb[i]
infile.close()
...