您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

write.py 193B

1234567891011
  1. import sys
  2. def write_file(file_name):
  3. with open(file_name, "w+") as f:
  4. f.write("Dummy text")
  5. if __name__ == "__main__":
  6. assert len(sys.argv) > 1
  7. write_file(sys.argv[1])