1 2 3 4 5 6 7
#!/usr/bin/env python3 import sys with open(sys.argv[1]) as f: content = f.read() with open(sys.argv[2], 'w') as f: f.write(content)