Python Installation

                                       Python Installation

Python comes in 2 versions mainly Python 3 and Python 2. Currently Python 2 is in EOL (End of Life) status. There will be no further updates and bug fixes. Python 3 is the recommending version to install. In Python 3 also, currently Python 3.8.3 is latest update. 

To install the Python you can visit the https://www.python.org/downloads/, here you can find all the downloads for python. Python supports the download for many different platforms like Windows, Mac-OS, Linux, Solaris, iOS and iPad-OS and many more. Just click on Download Python button after selecting your platform and your downloading will start.

Installation for Windows : 

  • After downloading double click on the downloaded file and start your installation. Just follow the normal installation procedure and Python will install in your system.
  • While installing just keep in mind to select the Add path in environment variables. It totally depends on you. You can manually add the path to environment variables later. If you do not add the path to environment variables and you try to run the python command in command prompt then it will give the error.
  • After you added the path, try to run the command python in command prompt like shown in the picture.


  • If this command gives error then it means either your installation is not successful or path in environment variable is not set.
  • You can also check the version of your python by using command - python --version.


Since you have successfully installed the python in windows, now just search for Python IDLE and open it. You will get Python Shell on which you can run your programs. From python shell you can create your python code files and there will be many more options.

 
There are many good IDEs that can be used for coding in python like PyCharm, Spyder, Jupyter, Atom, Visual Studio, PyDev, etc. For beginners Python IDLE is best. PyCharm is considered a little complex in use and used by proficient developers. 

Comments

Popular posts from this blog

Loops in Python

Python OOPs

Regular Expressions