18 lines
232 B
Python
18 lines
232 B
Python
|
#!env python
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
|
if len(sys.argv) < 3:
|
||
|
sys.exit(-1)
|
||
|
|
||
|
source_file = sys.argv[2]
|
||
|
dest_file = sys.argv[1]
|
||
|
|
||
|
print("%s --> %s" % (source_file, dest_file))
|
||
|
|
||
|
with open(dest_file, "w") as f:
|
||
|
f.write("AAA")
|
||
|
|
||
|
sys.exit(0)
|