i know, this might be easy, but i am stuck whatsoever.. this is the data
{ u'job_27301': [{u'auto_approve': u'0',
u'body_src': u'some text1'}],
u'job_27302': [{u'auto_approve': u'0',
u'body_src': u'some text2'}],
u'job_27303': [{u'auto_approve': u'0',
u'body_src': u'some text3'}] }
I have this dictionary of lists.
how can I loop over it and get body_src from the value list in each step? I tried
for k, d in data:
print d[k]
to get the list part, but it is saying too many values to unpack...