split large file by string/regex

Martin Dieringer dieringe at zedat.fu-berlin.de
Mon Nov 22 09:38:55 CET 2004

I am trying to split a file by a fixed string.
The file is too large to just read it into a string and split this.
I could probably use a lexer but there maybe anything more simple?

More information about the Python-list mailing list