Comparing Dictionaries

Ali aafshar at
Fri Jul 27 11:42:38 CEST 2007

On Jul 26, 10:18 pm, Kenneth Love <kl... at> wrote:
> Hello,
> 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:
And if you want a more involved approach:


More information about the Python-list mailing list