摘要: 1. 安装pymongo 然后用mongod命令启动 2. 客户端操作 def showDocs(userInfo): rs = userInfo.find() print rs.count() for item in rs: pprint.pprint(item) pass 阅读全文