- Install Python 2 ( download it from here )
[See bottom notes about why Python 2, not 3].
- Open PowerShell and type python
- If you get an error define the environment variable to know about python
1[ENVIRONMENT]::SETENVIRONMENTVARIABLE("PATH", "$ENV:PATH;C:\PYTHON27", "USER")
Close PowerShell and open it again and try python again.
Note: Why Python 2 vs Python 3 to get started:
A programmer may try to get you to install Python 3 and learn that. Say, “When all of the Python code on your computer is Python 3, then I’ll try to learn it.” That should keep them busy for about 10 years. I repeat, do not use Python 3. Python 3 is not used very much, and if you learn Python 2 you can easily learn Python 3 when you need it. If you learn Python 3 then you’ll still have to learn Python 2 to get anything done. Just learn Python 2 and ignore people saying Python 3 is the future.