On Wed, Jul 10, 2013 at 1:41 AM, Phil <phil_...@bigpond.com> wrote: > Thank you for reading this. > > Kububtu 13.04 Python 3 > > I'm attempting to read a configuration file that will restore my program > to the state that it was in when it was closed. Ideally the config file > would be human readable. > > Python actually comes with a module for this - it's called "configparser": http://docs.python.org/2/library/configparser.html
I personally use a module called "configobj" that I find slightly more powerful / easy to use than configparser: https://pypi.python.org/pypi/configobj/ Either way, you don't have to re-invent the wheel...
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor