Modifying a row in a textfile

2009-09-08 Thread Olli Virta
Hi! I got a textfile made out of database records. Is there an easy way to modify rows in that file in case you have to take away some items here and there from each rows. Tanks! OV -- http://mail.python.org/mailman/listinfo/python-list

Modifying a textfile

2009-09-03 Thread Olli Virta
Hi! So I got this big textfile. It's full of data from a database. About 150 or more rows or lines in a textfile. There's three first rows that belong to the same subject. And then next three rows belong to another subject and so on, to the end of the file. What I need to do, is put the three row