What is Python? How is it Installed?

Python3

What is Python? 

Python is a high-level coding language released in 1991, and thanks to its very simple syntax, it is highly recommended for beginners. It is reliable and has libraries for almost every topic, making it a very commonly used coding language today.

Python is generally widely used nowadays in areas such as coding game servers, artificial intelligence, and machine learning. We can say that Linux users also turn to Python before languages like C and C++ whenever they want to do any process with Linux.

Python was designed by Guido van Rossum and is currently still being developed by the Python Foundation.

Python Installation

Windows 

Installing Python for Windows is very simple.
You can download the latest version of Python from the official Python website and then install it on your system. At the last step of the installation, you will be asked whether to add it to the Path directory; my suggestion is to add it to the Path directory.
When it is added to the Path directory, you can run your Python code via CMD.

Python


Linux

On Linux operating systems, Python comes natively installed, but you can upgrade or downgrade the version via terminal commands.
To find out which version is installed on your system, you can check by typing "python --version" in the terminal.
If Python is not installed on your system or you want to change the version;
On Debian-based distros: typing "sudo apt insall python3.6" in the terminal will be enough. You can write whatever version you want to install instead of 3.6.
Fedora: typing "sudo dnf install python3" in the terminal will be enough. If you are using an old version of Fedora, use yum instead of dnf.

MacOS X

For Mac OSX, just like in Windows, you can download and install it from the official website.


Python Editor

Now that we have installed Python on our system, we can start writing our code with the help of an editor or IDE.
I personally use Visual Studio Code to write Python code in general, and I recommend Visual Studio Code to you as well, but you can also take advantage of programs such as Anaconda or Visual Studio.