This commit is contained in:
deadsmond 2019-12-03 13:48:27 +01:00
parent 601254ea7f
commit 05bc8422a1

View File

@ -50,8 +50,10 @@ for line in sys.stdin:
print(sys.argv, sys.argv[1].replace('.arg', '.exp'))
new_file = sys.argv[1].replace('.arg', '.txt')
shutil.copy(sys.argv[1], new_file) #copy the file to destination dir
shutil.copy(
sys.argv[1].replace('.arg', '.exp'),
sys.argv[1].replace('.arg', '.txt')
)
f = open(new_file, 'r')