[Tutor] printing files

Bala subramanian bala.biophysics at gmail.com
Thu Mar 26 18:42:58 CET 2009

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 ?


for files in flist:
   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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090326/151df251/attachment.htm>

More information about the Tutor mailing list