Re: Trying to understand working with dicts

2013-04-05 Thread Dylan Evans
On Fri, Apr 5, 2013 at 10:34 PM, inshu chauhan wrote: > Hello everyone, > > Here in my part of the code where cc is a dictionary. I want to understand > what actually cc.iterkeys() and cc[k] actually doing. > I am already reading > http://docs.python.org/2/library/stdtypes.html#dict.items > and ht

Re: Trying to understand working with dicts

2013-04-05 Thread Peter Pearson
On Fri, 5 Apr 2013 18:04:03 +0530, inshu chauhan wrote: > --089e0111cf5068b65204d99c4d46 > Content-Type: text/plain; charset=ISO-8859-1 [snip] > Here in my part of the code where cc is a dictionary. I want to understand > what actually cc.iterkeys() and cc[k] actually doing. > I am already reading

Trying to understand working with dicts

2013-04-05 Thread inshu chauhan
Hello everyone, Here in my part of the code where cc is a dictionary. I want to understand what actually cc.iterkeys() and cc[k] actually doing. I am already reading http://docs.python.org/2/library/stdtypes.html#dict.items and http://www.tutorialspoint.com/python/python_dictionary.htm but still n