一、连接mongodb 1、 设置数据库 client=pymongo.MongoClient(‘localhost’)1、 设置数据库 client=py 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交