Python – Overview
Python is a high level, general purpose, interpreted, interactive programming language. Also, python is a object oriented programming language created by Guido Van Rossum, First released in 1991.
Here we have used many unfamiliar terms such as high level, object oriented etc. But Don’t worry too much as we will go through each term in depth in coming posts. As this is our first tutorial i will not go into much of a technical details.
Though we will discuss few very interesting and useful facts about python.
Python emphasizes on code readability. For example, Whitespace indentation to delimit code blocks rather than using curly braces.
It is to be noted that python supports multiple programming paradigms such as Object oriented programming, imperative and functional programming and procedural styles.
The main advantage of python over many languages is its comprehensive library.
- Beautiful is better than ugly
- Explicit is better than implicit
- Simple is better than complex
- Complex is better than complicated
- Readability counts
Rather than developing all desired capabilities into programming language, it was designed highly extensible. Which made language hugely popular and its library went on increasing to become huge and diverse.
Its philosophy is in favor of “there should be one—and preferably only one—obvious way to do it”.
Although I said that I will not discuss technical stuff here in the first post, I feel to write a famous Hello World program, Which will give our readers glimpse into what python programming is.
In order to write Hello World or any other programs user must understand its structure.
Rather than using punctuations it focuses on making program readable and uncluttered by using English keywords where other languages use punctuations.
Very important structural aspect is Syntax. Where indentation plays key role to structure and make codes easily readable. Very interesting and standout thing here is python uses WhiteSpace indentation to delimit code blocks.
As easy as it sounds, to add indentation add more white spaces and to remove indentation remove white spaces.
So “Play attention to white spaces.” and be careful about them.
Here is simple Hello world program written in jupyter-notebook. (We will add few posts about jupyter notebook soon)