I am asked to create a python file abc.py, and then execute that python command over filename.txt
The code in terminal (OSX):
$ python abc.py filename.txt
How do I write the code in the abc.py file such that it is will read "filename.txt" from the command-line, as an input in the python code?
Thanks much.