I have a simple Python script that all it does is:
import sys
print sys.argv
When I open cmd
and type
MyScript.py arg1
I get:
['C:\\MyScript.py']
But when type:
python MyScript.py arg1
I get:
['C:\\MyScript.py', 'arg1']
I've looked around here but did not find my answer.
I've uninstalled and re-installed Python 2.7.9
and it did not resolve it.
Any idea?