I am using pymongo driver to work with Mongodb using Python. Every time when I run a query in python shell, it returns me some output which is very difficul
No direct method to print out of pymongo in a structured way.
as the out of pymongo is dict
print(json.dumps('variable with out of pymongo query'))
this will serve your purpose i think