I used to make use of sys args to start my python scripts with additional parameters from the windows command line. For example I would run the following line from my windows commandline:
myscript.py 100 1 1
The Problem: On using print(argv) I only receive the name of the script ['C:\path\myscript.py'], somehow the rest gets omitted. Python 3.6 is in my environment variables.
I cannot detect any differences between the point in time when it worked and now. Even re-installing Python was fruitless. I then installed anaconda, but the result remains the same when I run the following command:
conda run myscript.py 100 1 1
myscript.py minimal contents which reproduced the behavior for me:
from sys import argv
print(argv)