On 3/1/2011 10:59 AM Sean Carolan said...

Take an arbitrary number of text files. Assume that each text file has
the exact same number of lines.  Concatenate each line of each file
with the corresponding lines of the other files and output the data.
So in other words, the first line of output will be
file1_line1+file2_line1+file3_line1, etc.


Hint:  Look at zip.

Emile

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to