On Fri, Oct 3, 2008 at 1:02 PM, jeremiah <[EMAIL PROTECTED]>wrote: > i think i figured it out. The result is that I have a dictionary within > a dictionary..i think. > > for example: > > {'mcdonalds': {'hamburger': 'big mac','drink':'coke'}} > > How would I go about itterating through this? >
for k, v in items(mydict): for k, v in items(v): print k, v I think that should work hth, Wayne
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor