摘要:
最好不要用 列表 作为参数,否则容易得到非预期的结果,如下代码。 def add(a, b): a += b return a class Company: def __init__(self, name, staffs=[]): self.name = name self.staffs = sta 阅读全文
摘要:
参考:https://blog.csdn.net/appleyuchi/article/details/105733270 有时间多看几遍,不难理解 例子1 class Role: def walk(self): print('走') class RunMixin: def run(self): p 阅读全文
摘要:
influxDB-查询操作 转自:https://www.cnblogs.com/Bluebells/p/14120368.html 1 # 综合使用 2 书写顺序 3 select distinct * from '表名' where '限制条件' group by '分组依据' having ' 阅读全文