Below is just about everything you’ll need to install python and start coding. Note: I am using version 2.7. The latest version of python is 3. However I prefer to use 2.7 because there is more support for it and most of the libraries that we will be using is made for 2.7.
Linux
If you are using Linux, most likely it has python installed. Just run python
in your terminal to confirm. The python interpreter should come up.
Windows
1. Download
https://www.python.org/downloads
2. Install Python
Follow the instructions just like installing any other windows program.
3. Make sure Python is installed correctly.
Test if you have python installed. Simply just open command prompt and type python.
Troubleshoot
If you do not have python, you should see the following message below:
If you want to use the command python
in the command prompt you have to add the path of your python folder to the windows Path
variable. But this is up to preference. I personally like being able to call python from cmd. Here is how to add it.
Copy the location of where you installed python. Usually C:\Python27
Open your computer properties. ( Right click on My Computer to bring up the properties menu )
Go to Advance system settings
.
Go to Advanced
tab.
Click on Environment Variables
at the bottom.
Under System variables
find the Path
variable.
Edit the Path variable. At the very end of the variable value add the location of your python installation.
If you get stuck on any steps, try searching Google, leave a comment below, or contact me.
comments powered by Disqus