<div dir="ltr">Hello everyone, <div><br></div><div style>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. </div><div style>I am already reading <a href="http://docs.python.org/2/library/stdtypes.html#dict.items">http://docs.python.org/2/library/stdtypes.html#dict.items</a></div>
<div style>and <a href="http://www.tutorialspoint.com/python/python_dictionary.htm">http://www.tutorialspoint.com/python/python_dictionary.htm</a> but still not very clear. </div><div style><br></div><div>cc = Computesegclass(segimage, refimage) </div>
<div>    for k in sorted(cc.iterkeys()):</div><div>        i = argmax(cc[k])</div><div>        print >> f, i+1</div><div><br></div><div style>Thanks in Advance </div><div style> </div></div>