merge_files.py 188 B

12345678
  1. import sys
  2. if __name__ == "__main__":
  3. with open(sys.argv[1], "w") as f:
  4. for appended in sys.argv[2:]:
  5. with open(appended) as a:
  6. f.write(a.read())