Friends,<br>My files are like below<br>file1 file2<br>Remark Remark <br>---- -----------<br>---- -----------<br><br>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 ?<br>
<br>flist=glob.glob(*.txt)<br>out=open('all','w')<br><br>for files in flist:<br> handle=open(flist).readlines()<br> 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<br>
another variable. Is there any fancy way of doing it. <br>out.close()<br> <br>