摘要:
# this one is like your scripts with argv def print_two(*args): arg1, arg2 = args print(f"arg1: {arg1}, arg2: {arg2}") # ok, that *args is actually pointless, we can just do this def print_... 阅读全文
摘要:
这个脚本没必要在复制之前问你,也没必要在屏幕上输出那么多东西,试着删掉一些特性,让他看起来更友好。 一行实现 *为什么要在代码中写out_file.close():关闭文件 阅读全文