标签:
from pymongo import MongoClient mc = MongoClient(‘localhost‘,27017) db = mc.users db.users.save({‘name‘:‘test‘}) set = db.users.find() for s in set: print(s)
[MongoDB]Python 操作 MongoDB
原文地址:http://www.cnblogs.com/tonghounb/p/5225434.html