Unit-I. Introduction of python.
▪ Python Introduction:
▪ History to Python:
Python is a widely used General Purpose
High level programming language which
was created by Guido van Rossum in
1989 at Netherland and developed by
Python Software Foundation.
The Official Date of Birth is 20th feb 1991.
.
The first version of Python 0.9.0 was released in
1991. Version 0.9.0 Includes functions, exception
handling and the core data types: str, list, dict
etc.
Python version 1.0 was introduced in 1994.
.
The name "Python" was inspired by BBC’s TV
Show- “Monty Python's Flying Circus”, as he was
a big fan of the TV show and also he wanted a
short, unique and slightly mysterious name for
his invention and hence he named it Python.
python current version is 3.12.4.
There are two major Python versions:
Python 2 and Python 3.
Both are quite different.
Python 2.0 was released On 16 October 2000,
with many new features.
Python 3.0 was released On 3rd December 2008,
with more testing and includes new features.
Python is widely used in web development, data
analysis, Artificial intelligence, Data science, Deep
learning and many other fields due to its
versatility and ease of use.
.
Why was Python 3 introduced?
Python 3 was introduced to fix design flaws and
remove redundant(Unnecessary) constructs that
were present in Python 2.x
.
Differences between Python 2 and Python 3:
Key differences include the print function,
integer division, and Unicode handling.
Python 3 also emphasizes modern
programming features and improved standard
libraries.
.
Python is a Dynamic, General Purpose, high
level, interpreted, freeware and open source
programming language.
Python supports Both procedure oriented
programming (Set of Functions) and object-
oriented programming hence we get benefits
like Security and Reusability.
In Python, we don’t need to declare the type
of variable because Python is a dynamically
typed language.