摘要: 1.连接数据库 import pymongo client = pymongo.MongoClient(host='localhost',port=27017) # client = pymongo.MongoClient('mongodb://loaclhost:27017/') 2.指定数据库 db=client.test # db=clie... 阅读全文
posted @ 2019-05-21 13:43 Yzc_start 阅读(113) 评论(0) 推荐(0) 编辑