[Solved] pymongo result to String

[ad_1]

Gives this: {u’_id’: ObjectId(‘5238273074f8edc6a20c48fe’), u’Command’:
u’ABCDEF’, u’processed’: False}

But really, all I want is ABCDEF in a string.

What you get is a dictionary, you simply need to fetch what you want from it

print myDict[ u'Command']

0

[ad_2]

solved pymongo result to String