How To Install Python In Windows?
Python is a language that every aspirant developer looks forward to. One thing we must keep in our mind is how to begin our hands-on practice with Python. So, first and foremost we should ensure that Python is installed on our PCs.
Today we will discuss the steps of installing Python-
- Go to the website “Python.org”
- You will find the ‘Downloads’ tab there and click on it to get the information related to the current version.
- On clicking that, an executable file of Python will be downloaded.
- In the ‘Downloads’ folder, you will find the file and click on it for installation.
- You will see the installation setup window of Python on your screen.
- Click on Install Now
- On clicking this, a dialog box would appear named ‘User Account Control’, it will ask you ‘Do you want to make changes to your device?”.
- Click on ‘Yes’ to start the installation process.
- Once it is installed, we need an IDE (Integrated Development Environment) to write our programs in Python.
- An IDE can help us to integrate the text editor with other essential features that can help in implementing various projects that earlier required complex coding.
There are many IDEs available that can provide us a humble beginning in this amazing universe of python programming.
- Python IDLE
- Spyder IDE
- Jupyter Notebook
Let’s talk about the characteristics and installation of each IDE in detail-
- It has an interactive interpreter
- It highlights the syntax
- It has the feature of smart indentation
- It formats the code automatically
- It supports debugging
Installation of Python IDLE
- Look for the ‘Windows’ downloads and choose your system architecture.
- The next step is to run the installer and go through the prompts. This installs IDE.
1. Advance editing options are available
2. Tools like Numpy, Matplotlib, and scipy are available.
3. Python & IPython consoles can work at the same time.
4. Inserts colon after if & while automatically
5. Supports the magic commands of IPython
Installation of Spyder IDE
- Go to the official website of Spyder.
- Select ‘Download’ from the menu.
- Click on the ‘Download Spyder with Anaconda’ button.
- This will direct you to the next screen where you will be asked to choose the operating system.
- Select the version of Python you want to download.
- Once you have downloaded the installer, a setup window will appear on your screen.
- Click the 'Next button.
- Click on ‘I Agree’ in the License Agreement
- Click on ‘Next’ to proceed in the further dialog boxes.
- Once you reach the required page, click on the 'Install' button.
- The installation process will start after this.
1. Feature of markdown markup language that can describe code.
2. It can provide a piece of complete information about our project using description through formatted text, visual representation of our analysis, and mathematical functions.
3. Notebook maintains the privacy of our data.
4. The kernel present in Jupyter notebooks provides support to multiple languages.
5. It provides amazing features and tools for Data Science projects.
Installation of Jupyter Notebook
- The process of installation remains the same as Spyder IDE, what we need to do here is install Anaconda distribution.
- Select the operating system of your choice.
- The .exe installer will be downloaded.
- Open and execute the installer and launch the Anaconda Navigator.
- The installation process would then start and the packages will be loaded.
- We can check the version using the pip command in Anaconda Prompt.
1. Smart code editor that provides writing high-quality Python codes.
2. Tools enhance code productivity.
3. It supports scientific libraries that can help in accomplishing Data Science & Machine Learning projects.
4. It provides a good environment for testing and debugging.
5. The refactoring feature allows us to change the internal structure of the program and it doesn’t impact its external performance.
Installation of PyCharm
- Visit the official website of Jetbrains to download PyCharm.
- It is available in two versions-
- Professional – It is used by professional developers.
- Community- It is open-source and used for learning Python applications.
- Click on the ‘Download’ button and choose ‘Community’ in the window that appears below.
- Download the ‘Community’ version.
- Keep clicking on ‘Next’ in the dialog boxes that will appear in series during the installation process.
- Click on ‘install’ to start the process and then click on ‘Finish’ once the installation process completes.