I am a newcomer to python (also very sorry if this is a newb question but) i have no idea what a command line argument is. when sys.argv is called, what exactly are the arguments? Any help with understanding this would be a great service.
I am a newcomer to python (also very sorry if this is a newb
Share
Try running this program:
You should see results similar to this:
So, you see
sys.argvis a list. The first item is the path to (or filename of) the script being run, followed by command-line arguments.