How to convert a pymongo.cursor.Cursor into a dict? How to convert a pymongo.cursor.Cursor into a dict? python python