摘要:
import pprint import requests as req from lxml import etree import json5 import pymysql session = req.session() session.trust_env = False def exe_sql( 阅读全文
摘要:
**sorted()** 函数对所有可迭代的对象进行排序操作。 > **sort 与 sorted 区别:** > > `sort 是应用在 list` 上的方法,`sorted 可以对所有可迭代的对象`进行排序操作。 > > list 的 sort 方法返回的是对已经存在的列表进行操作,无返回值, 阅读全文