How to eval a file

Björn Lindberg d95-bli at nada.kth.se
Sun Feb 23 02:39:54 CET 2003


Alexander Schmolck <a.schmolck at gmx.net> writes:

> Or, even simpler, use the ConfigParser module (which parses files that look
> like windoze ini files).

I am now using the shlex module. It parses my existing configuration
file neatly into tokens. It fits perfectly for my needs. I was very
close to reinventing the wheel. :-)


Björn




More information about the Python-list mailing list