摘要:
from bson.objectid import ObjectId 1、字符串转ObjectId oid = ObjectId(id_str); 2、ObjectId转字符串 id_str = ObjectId(id).toString() 例子 find({'_id': ObjectId(id_ 阅读全文
摘要:
Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWar 阅读全文