How to eval a file

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

Alexander Schmolck <a.schmolck at> 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. :-)


More information about the Python-list mailing list