xxxxxxxxxx
# make sure you'r running the code from the script diractory
# cd "path/to/your/script"
xxxxxxxxxx
when typing "python -- version" in cmd
I got "python: can't open file 'C:\\Users\\ThisUser\\version': [Errno 2] No such file or directory"
first note that "\\" is not a problem, \ is an escape sequence,
so \\ in a string is outputted as \ (much like \n in C#)
second, and most frusteratingly
"python -- version" produces an error
"python --version" outputs our version
note the difference in these lines is the spacebar between "--" and "version"