python通过pymongo来操作mongo
python操作mongo的API地址:https://api.mongodb.com/python/3.7.2/tutorial.html首先先下载pymongo :python -m pip install pymongo导入pymongo并测试连接import pymongo#连接mongo #client=pymongo.MongoClient(host='192.168.111.200' ,port=23000)client=pymongo.MongoClient('mongodb.
原创
2020-07-30 10:08:57 ·
679 阅读 ·
0 评论