[Tutor] printing files

Alan Gauld alan.gauld at btinternet.com
Thu Mar 26 19:05:24 CET 2009


"Bala subramanian" <bala.biophysics at gmail.com> wrote

> for files in flist:
>   handle=open(flist).readlines()
>   print>>out, handle  

   print>>out, handle[1:]

Should do it? You might need to handle line endings though...  

Alan G.



More information about the Tutor mailing list