File processing - is Python suitable?

Helmut Jarausch jarausch at skynet.be
Tue Jun 19 15:01:36 CEST 2007


ferrad wrote:
> I have not used Python before, but believe it may be what I need.
> 
> 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.  I have a set of generic
> rules that my fingers follow to process these files, which all follow
> a similar template.
> 
> Question: can I translate these types of rules into programmatical
> constructs that Python can use to process these files?  Can Python do
> the trick?

I think that's one of the great strength of Python.

Just some pointers

  http://gnosis.cx/TPiP/
  http://www.egenix.com/products/python/mxBase/mxTextTools/


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



More information about the Python-list mailing list