摘要: 代码 # wraps的参数是原来的函数,修饰返回的函数 def _implicit_lookup(self, subroutine, arg_name): # feed 里面查找 animal replacer = ArgumentReplacer(subroutine, arg_name) @wr 阅读全文
posted @ 2021-07-20 17:20 该显示昵称已被使用了 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 【原始】打开记事本 def createFile(filename): if os.path.exists(filename) == False: open(filename, "a").close() if os.path.getsize(filename): pass else: f = ope 阅读全文
posted @ 2021-07-20 14:24 该显示昵称已被使用了 阅读(114) 评论(0) 推荐(0) 编辑