If you’re wondering how to run python.exe by typing python (like in a linux box), set up an environment variable called python that targets python.exe.
The following post details how to set an environment variable.
Follow the instructions, except instead of appending to the Path variable, add a new one:
- Variable: python
- Value: C:\Python[version]\python.exe
Start up your command prompt and type ‘python’, or ‘python _whatever_’ and the commands should work as expected.