摘要:
from functools import lru_cache import time from functools import wraps def clock(func): @wraps(func) def clocked(*args, **kwargs): t0 = time.time() r 阅读全文
摘要:
import fileinput with fileinput.input(files=(path1,path2)) as f: for line in f: print(line) 阅读全文