前提:安装了MongoDB服务器,若没有,点击 这里 安装. 1.安装. pip3 install pymongo. 2.连接. 第1种方式:. #无密码连接 import pymongo mongo_client = pymongo.
確定! 回上一頁