What do the alphabet and the programming language Python have in common? Both begin with ABC.
Python was conceptualised in the last part of the 1980s. Guido van Rossum worked that time in a venture at the CWI, called Amoeba, a circulated operating system. In a meeting with Bill Venners, Guido van Rossum said:”In the early 1980s, I worked as an implementer on a team building a language called ABC at Centrum voor Wiskunde en Informatica (CWI). I don’t know how well people know ABC’s influence on Python. I try to mention ABC’s influence because I’m indebted to everything I learned during that project and to the people who worked on it.”
Does It Bite?
When it comes to the word “Python” most people think about snakes, but the origin of the name has nothing to do with venomous apex predator. van Rossum, the maker of Python, wrote in 1996 about the origins of it’s name:”Over six years ago, in December 1989, I was looking for a ‘hobby’ programming project that would keep me occupied during the week around Christmas. My office … would be closed, but I had a home computer, and not much else on my hands. I decided to write an interpreter for the new scripting language I had been thinking about lately: a descendant of ABC that would appeal to Unix/C hackers. I chose Python as a working title for the project, being in a slightly irreverent mood (and a big fan of Monty Python’s Flying Circus).”
So What’s All The Hiss About?
Python is one of those rare languages which can claim to be both simple and powerful. We will find yourself pleasantly surprised to see how easy it is to concentrate on the solution to the problem rather than the syntax and structure of the language we are programming in.
Python is a straightforward and moderate language. Perusing a decent Python program feels practically like understanding English, albeit exceptionally severe English! This pseudo-code nature of Python is probably the best strength. It permits we to focus on the answer for the issue as opposed to the actual language.
Simple to Learn
As we will see, Python is amazingly simple to begin with. Python has a remarkably basic syntax, as referenced.
Free and Open Source
Python is an illustration of a FLOSS (Free/Libré and Open Source Software). In straightforward terms, we can uninhibitedly disseminate duplicates of this product, read its source code, make changes to it, and use bits of it in new free projects. FLOSS depends on the idea of a local area what shares information. This is one reason Python is so acceptable – it has been made and is continually improved by a local area who simply need to see a superior Python.
At the point when we compose programs in Python, we never need to fret over the low-level subtleties, such as, dealing with the memory used by our program, and so forth
Because of its open-source nature, Python has been ported to (for example changed to make it work on) many stages. All ourPython projects can chip away at any of these stages without requiring any progressions whatsoever on the off-chance that we are sufficiently cautious to stay away from any framework subordinate highlights.
We can utilise Python on Linux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, AROS, AS/400, BeOS, OS/390, z/OS, Palm OS, QNX, VMS, Psion, Acorn RISC OS, VxWorks, PlayStation, Sharp Zaurus, Windows CE and even PocketPC!
We can even use a stage like Kivy to make games for iOS (iPhone, iPad) and Android.
This requires a touch of clarification.
A program written in an aggregated language like C or C++ is changed over from the source language for example C or C++ into a language used by ourPC (twofold code for example 0s and 1s) utilising a compiler with different banners and alternatives. At the point when we run the program, the linker/loader programming duplicates the program from hard circle to memory and starts running it.
Python, then again, needn’t bother with aggregation to binary. We just run the program straightforwardly from the source code. Inside, Python changes over the source code into a transitional structure called byte-codes and afterward makes an interpretation of this into the local language of ourPC and afterward runs it. This, really, makes utilising Python a lot simpler since we don’t need to stress over aggregating the program, ensuring that the legitimate libraries are connected and stacked, and so on This additionally makes our Python programs substantially more convenient, since we can simply duplicate our Python program onto another PC and it simply works!
Python upholds system situated programming just as article arranged programming. In strategy arranged languages, the program is worked around methods or capacities which are only reusable bits of projects. In object-situated languages, the program is worked around objects which consolidate information and usefulness. Python has an amazing yet oversimplified method of doing OOP, particularly when contrasted with large languages like C++ or Java.
On the off chance that we need a basic piece of code to run exceptionally quick or need to have some piece of calculation not to be open, we can code that piece of our program in C or C++ and afterward use it from ourPython program.
We can insert Python inside ourC/C++ projects to give ‘scripting’ capacities for our program’s clients.
The Python Standard Library is immense in reality. It can assist we with doing different things including ordinary expressions, documentation age, unit testing, stringing, data sets, internet browsers, CGI, FTP, email, XML, XML-RPC, HTML, WAV documents, cryptography, GUI (graphical UIs), and other framework subordinate stuff. Keep in mind, this is consistently accessible any place Python is introduced. This is known as the Batteries Included way of thinking of Python.
Other than the standard library, there are different other great libraries which we can discover at the Python Package Index.
How To Get Slithering?
Before you start, you will need Python on your computer.
Check whether you already have an up to date version of Python installed by entering python in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any Python 3.x version will do, as Python makes every attempt to maintain backwards compatibility within major Python versions. Python 2.x and Python 3.x are intentionally not fully compatible. If python starts a Python 2.x interpreter, try entering python3 and see if an up to date version is already installed.
On Windows, try py first – this is the relatively recent Python Launcher, which has a better chance of avoiding some of the path problems that might occur because on Windows programs don’t install into any of the small set of common locations that are searched by default. The Python launcher can also let you select any of the various versions you may have installed from a single command.
If you need to install Python, you may as well download the most recent stable version. You can easily download python from python.org
Now that was a lot of information, so to keep it short and simple, Python is an exciting and powerful language. It has the right combination of performance and features that make writing programs in Python both fun and easy.
You must be tired of reading about Python if you made it till here. So, let’s end this on a mellow note with some poetry!
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.
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!