Python Tutorial3
Python Tutorial3
Python was developed by Guido van Rossum (a Dutch programmer) in the late 1980s
and early nineties at the National Research Institute for Mathematics and Computer
Science in the Netherlands.
Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-
68, SmallTalk, and Unix shell and other scripting languages. Guido van Rossum wanted
Python to be a high-level language that was powerful yet readable and easy to use.
Python is copyrighted. Like Perl, Python source code is now available under the GNU
General Public License (GPL).
For many uninitiated people, the word Python is related to a species of snake. Rossum
though attributes the choice of the name Python to a popular comedy series Monty
Python's Flying Circus on BBC.
Being the principal architect of Python, the developer community conferred upon him
the title of Benevolent Dictator for Life (BDFL). However, in 2018, Rossum
relinquished the title. Thereafter, the development and distribution of the reference
implementation of Python is handled by a nonprofit organization Python Software
Foundation.
Learn Python in-depth with real-world projects through our Python certification
course. Enroll and become a certified expert to boost your career.
Python 0.9.0
Python's first published version is 0.9. It was released in February 1991. It consisted of
features such as classes with inheritance, exception handling, and core data types like
lists and dictionaries..
Python 1.0
In January 1994, version 1.0 was released, armed with functional programming tools,
features like support for complex numbers etc and module system which allows a better
code organization and reuse.
Python 2.0
Next major version − Python 2.0 was launched in October 2000. Many new features
such as list comprehension, garbage collection and Unicode support were included with
it. Throughout the 2000s, Python 2.x became the dominant version, gaining traction in
industries ranging from web development to scientific research. Various useful libraries
like like NumPy, SciPy, and Django were also developed.
Python 3.0
Python 3.0, a completely revamped version of Python was released in December 2008.
The primary objective of this revamp was to remove a lot of discrepancies that had
crept in Python 2.x versions. Python 3 was backported to Python 2.6. It also included a
utility named as python2to3 to facilitate automatic translation of Python 2 code to
Python 3. Python 3 provided new syntax, unicode support and Improved integer
division.
Python 3.11 has a better exception messaging. Instead of generating a long traceback
on the occurrence of an exception, we now get the exact expression causing the error.
As per the recommendations of PEP 678, the add_note() method is added to the
BaseException class. You can call this method inside the except clause and pass a
custom error message.
It also adds the cbroot() function in the maths module. It returns the cube root of a
given number.
A new module tomllib is added in the standard library. TOML (Tom's Obvious Minimal
Language) can be parsed with tomlib module function.
Python is being heavily used for machine learning, AI, and data science, so for sure its
future remains bright. It's role in these rapidly growing fields ensures that Python will
stay relevant for years.
Python is also increasingly becoming the first programming language taught in schools
and universities worldwide, solidifying its place in the tech landscape.
Python does not have any relation to Snake. The name of the Python programming
language was inspired by a British Comedy Group Monty Python.