aafshar at gmail.com
Fri Jul 27 11:42:38 CEST 2007
On Jul 26, 10:18 pm, Kenneth Love <kl... at tax.ok.gov> wrote:
> I am new to Python, but not programming. I would like to start my
> Python career by developing programs according to the "best practices"
> of the industry. Right now, that appears to be unit tests, patterns,
> and source code control.
I am not sure about "best", but one of my "favourite practices" is to
not re-write code that other people have written, and have released
under licenses that allow you to do anything with it.
> So, I am trying to write a unit test for some code that reads a Windows
> style INI file and stores the section, key, and values in a dictionary
So, in the standard library: http://docs.python.org/lib/module-ConfigParser.html
And if you want a more involved approach: http://www.voidspace.org.uk/python/configobj.html
More information about the Python-list