File processing - is Python suitable?

Alan Isaac aisaac at
Tue Jun 19 15:38:59 CEST 2007

ferrad wrote:
> I have large text files containing text, numbers, and junk.  I want to
> delete large chunks process other bits, etc, much like I'd do in an
> editor, but want to do it automatically.  
> Question: can I translate these types of rules into programmatical
> constructs that Python can use to process these files?

Someone can.  ;-)
However if the file is structured,
awk may be faster, since this sounds
like the kind of report generation it
was designed for.

Alan Isaac

More information about the Python-list mailing list