Parsing Python dictionary with multiple objects

Anurag Patibandla anuragpatibandla7 at gmail.com
Wed Oct 15 18:28:38 CEST 2014


First the values printed by
'[(queues[j], json.get(queues[j])) for j in range(len(queues))] '
is a list, so I tried to convert it into a dict using dict().
And then I tried doing dict[0] but there is an error which says:
'type' object has no attribute '__getitem__'




More information about the Python-list mailing list