摘要:
通过装饰器处理每个步骤的结果 #autotest.py import threading import time def stepresult(step_number,expect=""): def wrapper(fun): def inner(*args,**kwargs): step={} r 阅读全文
posted @ 2021-09-04 16:34
绵绵01
阅读(74)
评论(0)
推荐(0)
摘要:
python 单例模式 import threading import time class Singleton(object): _instance_lock = threading.Lock() init=False def __init__(self,a): if Singleton.init 阅读全文
posted @ 2021-09-04 14:40
绵绵01
阅读(35)
评论(0)
推荐(0)

浙公网安备 33010602011771号