Newbie help with manipulating text files

{-- Rot13 - Hateme ungrzr2 at ubatxbat.pbz
Sat May 26 06:21:09 CEST 2001

In standard library:

12.8 multifile -- Support for reading files which contain distinct parts. 

The MultiFile object enables you to treat sections of a text file as file-
like input objects, with '' being returned by readline() when a given 
delimiter pattern is encountered. The defaults of this class are designed 
to make it useful for parsing MIME multipart messages, but by subclassing 
it and overriding methods it can be easily adapted for more general use. 

More information about the Python-list mailing list