INTRODUCTION
• Python is a widely used general-purpose, high level
programming language.
• It was created by Guido van Rossum in 1991.
• It is used for:
web development (server-side)
software development
Mathematics
Data Science
Artificial Intelligence
system scripting.
• Python is high level programming
language, Interpreted language and
general purpose programming
language.
• Python has a large and wide ranging
libraries
What is Python
• Python is designed to be highly readable. It uses English keywords frequently where
as other languages use punctuation, and it has fewer syntactical constructions than
other languages.
• Python is Interpreted − Python is processed at runtime by the interpreter. You do
not need to compile your program before executing it.
• Python is Interactive − You can actually sit at a Python prompt and interact with
the interpreter directly to write your programs.
• Python has support for an interactive mode which allows interactive testing and
debugging of snippets of code
• Python is Object-Oriented − Python supports Object-Oriented style or technique of
programming that encapsulates code within objects.
Python Features
Easy-to-learn − Python has few keywords, simple
structure, and a clearly defined syntax. This allows the
student to pick up the language quickly.
Easy-to-read − Python code is more clearly defined
and visible to the eyes.
Easy-to-maintain − Python's source code is fairly
easy-to-maintain.
• A broad standard library − Python's bulk of the
library is very portable and cross-platform
compatible on UNIX, Windows, and Macintosh.
Interactive Mode − Python has support for an
interactive mode which allows interactive testing
and debugging of snippets of code.
Portable − Python can run on a wide variety of
hardware platforms and has the same interface on all
platforms
• Python works on different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
• Python has a simple syntax similar to the English
language.
• Python has syntax that allows developers to write
programs with fewer lines than some other programming
languages.
• Python runs on an interpreter system, meaning that code
can be executed as soon as it is written. This means that
prototyping can be very quick.
• Python can be treated in a procedural way, an object-
oriented way or a functional way.