Unit-1 Intro To Python
Unit-1 Intro To Python
PYTHON
Course Objectives
Learn Syntax and Semantics and create
Functions in Python.
Handle Strings and Files in Python.
Understand Lists, Dictionaries and Regular
expressions in Python.
Implement Object Oriented Programming
concepts in Python
PROGRAMMING
WITH PYTHON
Course Outcomes
Unit-3: Functions,Lists,Tuples,Dictionaries
PROGRAMMING
WITH PYTHON
Course Overview
Introduction
History
Features
Applications
Variables
Data Types
Numbers
Indentation
Looping Statements
Break
Continue
Pass
Assert
Return
UNIT-1 INTRODUCTION TO PYTHON
What is Python ?
Python is an general purpose , interpreted, object-oriented,
high-level programming language with dynamic semantics.
History of Python
ABC programming language is said to be the
predecessor of Python language, which was capable of
Exception Handling and interfacing with the Amoeba
Operating System.
The following programming languages influence
Python:
ABC language.
Modula-3
UNIT-1 INTRODUCTION TO PYTHON
Features of Python
High Level Language
Scalable
Extensible
Portable
Interpreted Language
Features of Python
High Level Language
Python is a high-level language. When we write programs in
python, we do not need to remember the system architecture,
nor do we need to manage the memory. It is easy to
understand ,
Features of Python
Scalable
Python provides basic building blocks on which you can build
an application, and as those needs expand and grow, Python's
pluggable and modular architecture allows your project to
flourish as well as maintain manageability
Extensible
Python is a Extensible language. We can write us some Python
code into C or C++ language and also we can compile that
code in C/C++ language.
UNIT-1 INTRODUCTION TO PYTHON
Features of Python
Portable
Python language is also a portable language. For example, if
we have python code for windows and if we want to run this
code on other platforms such as Linux, Unix, and Mac then we
do not need to change it, we can run this code on any platform.
Features of Python
Intrepreted Language
Python is an Interpreted Language because Python code is
executed line by line at a time. The source code of python is
converted into an immediate form called bytecode
Features of Python
Large Standard Library
Python has a large standard library which provides a rich set
of module and functions. There are many libraries present in
python for such as regular expressions, unit-testing, web
browsers, etc
Applications of Python
Desktop GUIs
Software Development
Business Applications
Applications of Python
Scientific and Numeric
Python is widely used in scientific and numeric computing:
It consists of many scientific and mathematical libraries, which
makes easy to solve complex calculations.
SciPy,
Pandas,
NumPy,
Scikit-learn
UNIT-1 INTRODUCTION TO PYTHON
Applications of Python
Desktop GUIs
Python provides a Tk GUI library to develop a user interface.
Some popular GUI libraries are given below.
Tkinter or Tk
wxWidgetM
Applications of Python
Business Applications
Python is also used to build ERP and e-commerce
systems:
Odoo is an all-in-one management software that offers
a range of business applications that form a complete
suite of enterprise management applications.
Tryton is a three-tier high-level general purpose
application platform.
UNIT-1 INTRODUCTION TO PYTHON
Applications of Python
Image Process Applications
Python contains many libraries that are used to work with the
image. The image can be manipulated according to our
requirements. Some libraries of image processing are given
below.
OpenCV
Pillow
SimpleITK