I am working on a pymongo project but i need to make multiple dicts with same keys but diffrent values.
if you have any other ideas about saving this mongo answers i would be so happy .
data = {}
prdct = prdct.find({},{'_id':0,'tp':0})
for info in prdct :
data.update(info)
I tried .update() methode but instead of saving them after each other , only the values changed .
New contributor
sobhanfla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.