Friends,
My files are like below
file1 file2
Remark Remark
---- -----------
---- -----------
I have huge number of such files. I want to concatenate all files in one
huge file. I could do it with a script. But i want to omit the first line
(ie Remark in each file) and concatenate. How to do the same ?
flist=glob.glob(*.txt)
out=open('all','w')
for files in flist:
handle=open(flist).readlines()
print>>out, handle <-- Here i want to write only from second line. I dnt
want to loop over handle here and putting all lines except the first one in
another variable. Is there any
fancy way of doing it.
out.close()
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor