摘要:
代码 # wraps的参数是原来的函数,修饰返回的函数 def _implicit_lookup(self, subroutine, arg_name): # feed 里面查找 animal replacer = ArgumentReplacer(subroutine, arg_name) @wr 阅读全文
摘要:
【原始】打开记事本 def createFile(filename): if os.path.exists(filename) == False: open(filename, "a").close() if os.path.getsize(filename): pass else: f = ope 阅读全文