diff --git a/TaskB04/run b/TaskB04/run index 6de69ed..c9537b2 100644 --- a/TaskB04/run +++ b/TaskB04/run @@ -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')