[Tutor] Re: reading configuration file

Karl Fast karl.fast at pobox.com
Tue Nov 11 08:06:02 EST 2003


> You should look at the ConfigParser module.

I'll second that. ConfigParser is good for .ini style config files.

The Python Cookbook has a recipe illustrating basic usage:

  http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65334


--karl  



More information about the Tutor mailing list