What is Python ?

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Python’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.

If you have not installed Python, check our posts “How to Install Python on Linux / Ubuntu ?” for using Python on Linux OR “How to install Python on Windows” for installing Python on Windows.

Python is object oriented programming language which is widely used in servers and scripting purposes / automation.

Lets get to python shell as,

$ python3
Python 3.6.9 (default, Jul 17 2020, 12:50:27) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

As our machine has python3 installed, we typed “python3” command on console and it showed the python version and entered to python shell ( >>> ).

Now in simpler terms, we can see what python exactly is by typing “import this” command on console as,

>>> import this
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

above lines describes what python is… 🙂

Reference : https://www.python.org/doc/essays/blurb/

Leave a Comment