How to install python
HOW TO INSTALL PYTHON
Python 3 Major Version Installation (Windows)
Download the latest Python 3.x version. At the time of writing this article latest version was Python 3.7.4 (July 8, 2019). Download Windows x86 – 64 executable file only as installer will automatically install 32 or 64 bit of Python according to the system configuration.
Open the executable file and Check the Add Python 3.7 to PATH. Then click the Install Now button. It will show the installation progress.
When the installation progress is completed, you will see the Disable path length limit. Now you must be thinking what is it and whats will happen if I will disable it. The answer is clear, it will remove the limitations on MAX_PATH variable. It will allow to use long path names for the Python. We recommend you to not disable this option as it will remove any path related issues while working in Windows. Therefore click on the close button to finish the installation.
Now, the Python 3.7.4 is installed. You can check it either it is properly installed or not. You can do it through Command Prompt. Open the command prompt and type the following command -" python -v ". It will output the version of the Python.
Congratulation, you have successfully installed Python 3 version. you can read the next tutorial to Python Programming a complete guide for beginners.
Advertisment
Python 3 Major Version Installation (Linux)
For Python3
For Python2
You will see the python versions as output like in the below screenshot. But if you are not seeing then , you have to install Python . Follow the following steps for successful install.
$ sudo apt-get update
Python 3 Major Version Installation (MacOS)
python --version
Download the Python 3 or 2 new version. At the time of writing this post , Python 3.7.4 - July 8, 2019 was the newer version. Download the Mac OS X 64-bit/32-bit (https://www.python.org/downloads/mac-osx/) installer. Run the package and following the installation steps to install the python packages
After the successful installation , you can check the python version by using the same command.
python --version