[align=left]Hello, I have problems with accessing files through a code via mobaxterm:
The code takes a txt file as an input, and outputs an output txt file as an output
My code goes something like this:
https://imgur.com/a/FV759B7
What's wrong here? what do i need to do?
The code takes a txt file as an input, and outputs an output txt file as an output
My code goes something like this:
import sys import os functions blah blah file_output = open(sys.argv[2], "w") file_input = open(sys.argv[1], "r") os.chmod(sys.argv[2], 0o777)[/align]Now, whenever I try to run the program with mobaxterm I get this message (movie.txt) is the input file:
https://imgur.com/a/FV759B7
What's wrong here? what do i need to do?