Python is a multi-paradigm interpreted language. Which mean that you can write in python using different types of programming: object oriented, functional, imperative...
It is a general purpose language, so you can use it to write desktop GUI software as well as web applications.
There are two main versions of python that you should know: versions 2.x and version 3.x. For each of them, you have to install the right interpreter. But the new features will be added only to the versions 3.x
Several known applications use python for part of their code as Google and Instagram . It is known for some important features, as its large standard library, or the availability of different libraries and framework to use with the language.
In the following, I will consider only the versions 3.x
How to install it
From now, I will talk only about python 3. The installation will concern Ubuntu 18.04 and Windows 10
Windows 10: from the home page of the official website of the language, hover over the Downloads tab in the menu, and click on Windows. You can choose between stable, latest or pre-relased releases. For the stable one, you can download the installer directly from that page, and install the language.
Ubuntu 18.04: pyhton3 is already installed with this version. However here are the commands to install and update the language:
sudo apt update
sudo apt install python3
sudo apt upgrade python3
For Ubuntu installations you can see the videos in the corresponding channel page.
The Hello World Example
I will use the visual code editor and a python extension ( see the video ).
To write the hello world example, I will consider these three cases:
The hello world will be visibile in a console.
The message will appear on a popup window.
Something to say ?
If you want to add something about the Python language or about this post, please feel free to do it by commenting below 🙂 .