from pymongo import MongoClientclient=MongoClient("mongodb://root:password@ip:27017")dblist = client.list_database_names()語句查看數據表內的記錄數db.getCollection('resObject').find().count();