摘要:
设置全局变量 方法一: 导入环境变量的json文件 home--Environments--Globals--import--select json feil 方法二: Collections-API-Pre-request Script- dev getToken code const getAm 阅读全文
posted @ 2022-02-26 10:15
苍耳冬阳
阅读(193)
评论(0)
推荐(0)
摘要:
创建大量的对象 对于主要当成简单的数据结构类而言,通过添加__slots__属性来极大的减少实例所占用的内存eg: class Date: __slots__ = ['year', 'month', 'day'] def __init__(self, year, month, day): self. 阅读全文
posted @ 2022-02-26 09:51
苍耳冬阳
阅读(66)
评论(0)
推荐(0)

浙公网安备 33010602011771号