This problem can also occur with the other applications like PyCharm, Eclipse etc. if it is not added to the path and these applications may ask you to add it into path. To add python to the path: go to the properties of “Computer/This PC”. read more
C:/Python27/Python some_python_script.py Whereas if you add it to PATH, you can do this: python some_python_script.py Which is shorter and neater. It works because the command line will look through all the PATH folders for python and find it in the folder that the Python installer has added there. read more