[Tutor] handling a textfile

Olli Virta llvirta at gmail.com
Wed Aug 19 09:13:59 CEST 2009


Hi!

I have a textfile (job.txt) that needs modifying. The structure of this file
is like this:

AAA1...
BBB1...
CCC1...
AAA2...
BBB2...
CCC2...
etc...



Question is how can I turn this all to a textfile (done.txt) that is suppose
to look like this:

AAA1...BBB1...CCC1...
AAA2...BBB2...CCC2...
etc.

Thanks! OV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090819/5ab23052/attachment.htm>


More information about the Tutor mailing list