Introduction
In this article, let's learn the basics of Python along with its advantages and step by step installation, with examples.
Let's start.
What is Python?
Python is an interpreted high-level programming language. It is used for general purpose programming. It is open source and by using it, we can create Console applications, Windows applications, as well as Web applications. It supports interactive layouts, objective-oriented approach, procedural and functional programming, automatic memory management. Even after having these much capabilities, Python is easily readable and very easy to learn and understand.
It encourages software developers or data analysts to rapidly develop very attractive applications.
Uses of Python
Python is used for Machine Learning, Data Analysis, Deep Learning, Artificial Intelligence, and Console, Desktop and Web Applications. Some of the renowned companies using Python include -
- Cisco
- Mozilla
- YouTube
- New York Stock Exchange (NYSE) etc.
Features of Python
- Easy to read and understand
Python is very easy to understand for freshers and experienced people.
- Easy to maintain
Python is very easy to maintain because of the clarity in writing the code.
- Large library
Python has a huge collection of libraries for easy programming, which makes it very popular in the world.
- Case Sensitive
Python is case-sensitive just like the C language.
- Cross-Platform
After writing a single code, you can run it on various OSes.
Data Science and Machine Learning with Python
Data Analysis has become very popular recently with the support of Python. Python has n numbers of libraries which are used for data science or machine learning and deep learning using Python interfaces.
Indentation
As we know, in C and C++, we use curly brackets for separating each scope or conditional statement. In Python, we use white-space for indentation rather than curly brackets or keywords.
How to install Python?
There are several ways of installing Python, as given below.
- Installing Python using Anaconda, Jupyter Notebook, and Spyder.
- Installing Python by directly downloading from the official website and using it with VS Code Editor.
In here, we will install Python directly by downloading from the official website. Then, we will be using VS Code Editor to create a program. Let's follow the step-by-step procedure.
Step 1
Go to the official website of Python and download the appropriate variant as per your operating system - Windows, Linux/UNIX, or Mac OS X. I am using Windows, so I will show you all installation steps of Python for Windows.
After opening the official website, we will see a screen like below.
Click on the latest version of Python for Windows, i.e., 3.7.0. The size of this executable is 24.3 KB.
Step 2
After downloading it, double-click on it or "Run as Administrator".
Step 3
Please make sure that the "Add Python 3.7 to PATH" checkbox is checked. If not, do it manually, like below.

Step 4
Now, click on the "Install Now" link. The progress will start. For the next few steps, keep clicking "Next" until the Python is installed on your system.











Join the conversation! Your thoughts help the community grow.