Parsing

Dietmar Lang dietmar at bronko.fh-wedel.de
Sun Jun 23 06:37:30 EDT 2002


Hi,

Pekka Niiranen wrote:
> Has anybody used python's parser -module to parse user defined
> text structure? It is possible ?

No, but it seems that the Toy Parser Generator[1] might be just what you
need. The parser module is for parsing Python code. If configurations
are specifically what you want to store and retrieve, the ConfigParser
module from the standard library will be easier to use.

Greetings,
Dietmar

[1] http://christophe.delord.free.fr/en/tpg/index.html

-- 
I haven't lost my mind -- it's backed up on tape somewhere.



More information about the Python-list mailing list