Installing Python and IDE - Ultimate Python Course Part - 2

Installing Python and IDE



Installing Python 

In this part we will be going to install Python in our computer and will be writing our first python program. Also, I will tell you about the IDE and why we use it. So let's start :-

  • Go to Google and search "Python Download"
  • Open the official website of Python and download the latest version.
  •  Run Python setup as administrator.
  • On first view of the setup, check "Add Python to PATH" which will appear on the lower left corner and click on next.
  • On next page of setup, if you want to install Python for all users on your computer check "Install for all users".
  • Then, surely check the checkbox before "Add Python to environment variables".
Now you can run Python in the Python IDLE or Python Terminal in which you want.

Now, let's talk about IDE i.e. Integrated Development Environment

What is IDE ?

It's a coding tool which allows you to write, test, and debug your code in an easier way, as they typically offer code completion or code insight by highlighting, resource management, debugging tools, etc.

Why we need IDE?

You can write the code more faster in IDE, also it gives suggestions while typing the code so you don't have to type the complete code word by word.
Also, it has many features like debugging which helps to find the bug in your program, code highlighting which makes the coding more easier and less tedious.

Some popular IDE's in market for Python are Visual Studio Code, Sublime Text, PyCharm, Anaconda, Spyder, etc. In this course, we will be using Visual Studio Code (VS Code).

Downloading and Installing VS Code

  • Visit Google and search Visual Studio Code download.
  • Download the latest version from there suitable for your operating system.
  • Install the setup. It is very easy to install just next next and finish.
Installing Python Extension in VS Code

On opening VS Code you will see a vertical bar on the left side of the window with some buttons as shown. Click on the last button of "Extension" highlighted with red box in the picture below.



In this extension marketplace, search "Python" and download the star marked Python extension by Microsoft. 
Documentation of Extension which appears on clicking on it looks like this as shown in the picture below.


Here we are complete with the installation of Visual Studio Code for Python.
Now, you can create new file, save it with ".py" extension and can write the code in it.

 If you have not watched the Part- 2 of the course on my channel then visit to my channel from the link in footer and watch it for the video explanation of the Part - 2 of the Ultimate Python Course.

Hope this part would be clear to you and you would be liking the content. If any query you can ask in the comments below.

Enjoy the Coding!!

For any doubts feel free to ask in comments below.
Stay Connected to Us for more such Courses and Projects.

Post a Comment

For any doubts feel free to ask in comments below.
Stay Connected to Us for more such Courses and Projects.

Post a Comment (0)

Previous Post Next Post