Comparison of parsers in python?

Peng Yu pengyu.ut at
Sun Sep 20 16:08:30 CEST 2009

On Sun, Sep 20, 2009 at 8:49 AM, andrew cooke <andrew at> wrote:
>> I don't quite understand this point.  If I don't use a parser, since
>> python can read numbers line by line, why I need a lexer package?
> for the lines of numbers it would make no difference; for the track
> definition lines it would save you some work.

So for the track definition, using a lexer package would be better
than using regex in python, right?

> as you said, this is a simple format, so the case for any tool is
> marginal - i'm just exploring the options.
> andrew
> --

More information about the Python-list mailing list