SlideShare a Scribd company logo
5
Most read
7
Most read
22
Most read
Presenta Presentation on
…PYTHON…
…PYTHON…
Presented by…
Minhajul Abedin Rahat(162-15-7689)
MD.RAKIB HASAN (162-15-7802)
Mantasha Altab Noyela(162-15-7673)
MD.Farok Hossain(162-15-7937)
Dept of CSE
Sec : B
Daffodil International University
Presented to…
Shalauddin(Lecturer)
Dept of Natural Science
Daffodil International University
Contents…
 What is Python…?
 Differences between program and scripting language
 History of Python
 Scope of Python
 Why do people use Python?
 Installing Python IDE
 Who uses python today
 What can I do with python
 A Sample Code
 Python code execution
 Running Python
What is Python…?
 Python is a general purpose programming language that
is often applied in scripting roles.
 So, Python is programming language as well as scripting
language.
 Python is also called as Interpreted language
Differences between
program and scripting
language
Program
 a program is executed (i.e.
the source is first compiled,
and the result of that
compilation is expected)
 A "program" in general, is a
sequence of instructions
written so that a computer
can perform certain task.
Scripting
 a script is interpreted
 A "script" is code written in
a scripting language. A
scripting language is nothing
but a type of programming
language in which we can
write code to control
another software application.
History…
 Invented in the Netherlands, early 90s by Guido
van Rossum
 Python was conceived in the late 1980s and its
implementation was started in December 1989
 Guido Van Rossum is fan of ‘Monty Python’s
Flying Circus’, this is a famous TV show in
Netherlands
 Named after Monty Python
 Open sourced from the beginning
Python’s Benevolent Dictator For
Life
“Python is an experiment in how
much freedom program-mers need.
Too much freedom and nobody can
read another's code; too little and
expressive-ness is endangered.”
- Guido van Rossum
Why was python created?
"My original motivation for creating Python was the feel need for a
higher level language in the Amoeba [Operating Systems] project.
I realized that the development of system administration use in
C was taking too long. Moreover, doing these things in the Bourne shell
wouldn't work for a variety of reasons. ...
So, there was a need for a language that would fill up the gap
between C and Bourne shell”
- Guido Van Rossum
Scope of Python…
 Science
- Bioinformatics
 System Administration
-Unix
-Web logic
-Web sphere
 Web Application Development
-CGI
-Python Servlets
Why do people use Python…?
Seem to be these:
Python is object-oriented :
Structure supports such concepts as polymorphism, operation
overloading, and multiple inheritance.
Indentation :
Indentation is one of the greatest feature in Python.
It's free (open source) :
Downloading and installing Python is free and easy
It’s Source code is easily accessible
It's powerful :
- Dynamic typing
- Library utilities
- Third party utilities
- Automatic memory management
It's portable :
- Python runs virtually every major platform used today
It's mixable :
- Python can be linked to components written in other languages easily
- Linking to fast, compiled code is useful to intensive problems
- Python/C integration is quite common
It's easy to use :
- It’s have no intermediate compile and link steps as in C/ C++
- Programs are compiled automatically from bytecode
- This gives Python the development speed without the performance
loss inherent in purely interpreted languages
It's easy to learn :
- Structure and syntax are pretty natural and easy to grasp
Installing Python…
 Python is pre-installed on most Unix
systems, including Linux and MAC OS X
 But for in Windows Operating Systems ,
user can download from the
https://www.python.org/downloads/
- from the above link download latest
version of python IDE and install, recent
version is 3.4.1 but most of them uses
version 2.7.7 only
 After installing the
Python Ver#2.7.7, go to
start menu then click
on python 2.7 in that
one you can select
python (command line)
it is prompt with >>>
Who uses python today…
 Python is being applied in real revenue-generating
products by real companies. For instance:
 Google makes extensive use of Python in its web search
system, and employs Python’s creator.
 Intel, Cisco, Hewlett-Packard, Seagate, Qualcomm, and
IBM use Python for hardware testing.
 ESRI uses Python as an end-user customization tool for its
popular GIS mapping products.
 The YouTube video sharing service is largely written in
Python
What can I do with Python…?
 System programming
 Graphical User Interface Programming
 Internet Scripting
 Component Integration
 Database Programming
 Gaming, Images, XML , Robot and more
A Sample Code
x = 34 - 23 # A comment.
y = “Hello” # Another one.
z = 3.45
if z == 3.45 or y == “Hello”:
x = x + 1
y = y + “ World” # String concat.
print x
print y
Enough to understand the code…
 Indentation matters to code meaning
- Block structure indicated by indentation
 First assignment to a variable creates it
- Variable types don’t need to be declared.
- Python figures out the variable types on its own.
 Assignment is = and comparison is ==
 For numbers + - * / % are as expected
- Special use of + for string concatenation and % for string
formatting (as in C’s printf)
 Logical operators are words (and, or, not) not symbols
 The basic printing command is print
Python Code Execution …
 Python’s traditional runtime execution model: source code
you type is translated to byte code, which is then run by the
Python Virtual Machine. Your code is automatically compiled,
but then it is interpreted.
Source code extension is .py
Byte code extension is .pyc (compiled python code)
Running Python…
Once you're inside the Python interpreter, type in commands at
will.
• Examples:
>>> print 'Hello world'
Hello world
# Relevant output is displayed on subsequent lines without the >>>
symbol
>>> x = [0,1,2]
# Quantities stored in memory are not displayed by default
>>> x
# If a quantity is stored in memory, typing its name will display it
[0,1,2]
>>> 2+3
5
print(“Thank you”)

More Related Content

What's hot (20)

PPTX
Introduction to python programming, Why Python?, Applications of Python
Pro Guide
 
PPTX
introduction to Python (for beginners)
guobichrng
 
PPTX
Python
Aashish Jain
 
PPTX
Python tutorial for beginners - Tib academy
TIB Academy
 
PDF
Introduction To Python | Edureka
Edureka!
 
PPT
Python ppt
Mohita Pandey
 
PPTX
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
PPTX
Introduction to python
AnirudhaGaikwad4
 
PPT
Intro to Python
primeteacher32
 
PPTX
Introduction to the Python
BMS Institute of Technology and Management
 
PPTX
Python basics
Jyoti shukla
 
PPT
Introduction to python
Syed Zaid Irshad
 
PPTX
Python 3 Programming Language
Tahani Al-Manie
 
PPTX
Beginning Python Programming
St. Petersburg College
 
PPTX
Python-00 | Introduction and installing
Mohd Sajjad
 
PDF
Introduction to python
Agung Wahyudi
 
PPTX
Features of 'c' program
veer patel
 
PPTX
Presentation on python
william john
 
PPTX
Python programming
Megha V
 
Introduction to python programming, Why Python?, Applications of Python
Pro Guide
 
introduction to Python (for beginners)
guobichrng
 
Python
Aashish Jain
 
Python tutorial for beginners - Tib academy
TIB Academy
 
Introduction To Python | Edureka
Edureka!
 
Python ppt
Mohita Pandey
 
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Introduction to python
AnirudhaGaikwad4
 
Intro to Python
primeteacher32
 
Introduction to the Python
BMS Institute of Technology and Management
 
Python basics
Jyoti shukla
 
Introduction to python
Syed Zaid Irshad
 
Python 3 Programming Language
Tahani Al-Manie
 
Beginning Python Programming
St. Petersburg College
 
Python-00 | Introduction and installing
Mohd Sajjad
 
Introduction to python
Agung Wahyudi
 
Features of 'c' program
veer patel
 
Presentation on python
william john
 
Python programming
Megha V
 

Similar to Phython Programming Language (20)

PDF
intro.pptx (1).pdf
ANIKULSAIKH
 
PPTX
Introduction to python for Beginners
Sujith Kumar
 
PPTX
Python Tutorial | Python Programming Language
anaveenkumar4
 
PPT
Python programming-2-2048 (30 files merged).ppt
pprince22982
 
PPT
Python programming notes all in one python ppt
pprince22982
 
PPTX
python programminig and introduction.pptx
urvashipundir04
 
PPTX
introduction to python in computer graphics.pptx
urvashipundir04
 
PPTX
Python is a high-level, interpreted programming language that emphasizes read...
bikomaster9459
 
PPTX
Python is a high-level, interpreted programming language known for its simpli...
bikomaster9459
 
PPTX
Python is a high-level, interpreted programming language known for its simpli...
bikomaster9459
 
PPTX
Python Programming Draft PPT.pptx
LakshmiNarayanaReddy48
 
PPTX
cupdf.com_python-seminar-ppt.pptx.........
ansuljoshi8456
 
PDF
python-160403194316.pdf
gmadhu8
 
PPTX
python presntation 2.pptx
Arpittripathi45
 
PPTX
Python Seminar PPT
Shivam Gupta
 
PPTX
Python
Shivam Gupta
 
PPTX
Chapter 2: Basics of programming pyton programming
biniyamtiktok
 
PDF
Python Programming Part 1.pdf
percivalfernandez2
 
PDF
Python Programming Part 1.pdf
percivalfernandez2
 
PPTX
Python Introduction
Punithavel Ramani
 
intro.pptx (1).pdf
ANIKULSAIKH
 
Introduction to python for Beginners
Sujith Kumar
 
Python Tutorial | Python Programming Language
anaveenkumar4
 
Python programming-2-2048 (30 files merged).ppt
pprince22982
 
Python programming notes all in one python ppt
pprince22982
 
python programminig and introduction.pptx
urvashipundir04
 
introduction to python in computer graphics.pptx
urvashipundir04
 
Python is a high-level, interpreted programming language that emphasizes read...
bikomaster9459
 
Python is a high-level, interpreted programming language known for its simpli...
bikomaster9459
 
Python is a high-level, interpreted programming language known for its simpli...
bikomaster9459
 
Python Programming Draft PPT.pptx
LakshmiNarayanaReddy48
 
cupdf.com_python-seminar-ppt.pptx.........
ansuljoshi8456
 
python-160403194316.pdf
gmadhu8
 
python presntation 2.pptx
Arpittripathi45
 
Python Seminar PPT
Shivam Gupta
 
Python
Shivam Gupta
 
Chapter 2: Basics of programming pyton programming
biniyamtiktok
 
Python Programming Part 1.pdf
percivalfernandez2
 
Python Programming Part 1.pdf
percivalfernandez2
 
Python Introduction
Punithavel Ramani
 
Ad

More from R.h. Himel (16)

PPTX
What is worksheet how to prepare worksheet
R.h. Himel
 
PPT
Sources of finance to start a business
R.h. Himel
 
PPTX
Openning a company
R.h. Himel
 
PPTX
Functional areas of a business
R.h. Himel
 
PPTX
Financial and managerial accounting
R.h. Himel
 
PPTX
Export and import business
R.h. Himel
 
PPTX
Entrepreneurship
R.h. Himel
 
PPTX
Does an engineering student have to study different types of non engineering ...
R.h. Himel
 
PPTX
Adjusting Entries on Accounting
R.h. Himel
 
PPTX
How does Ethics important for Accounting
R.h. Himel
 
PPTX
Corporate social and responsibility (CRS)
R.h. Himel
 
PPTX
Mobile phone
R.h. Himel
 
PPTX
Mat-131 presentation
R.h. Himel
 
PPTX
Data structure-project Queue
R.h. Himel
 
PPTX
Predicates and quantifiers presentation topics
R.h. Himel
 
PPTX
Isomorphism Graph
R.h. Himel
 
What is worksheet how to prepare worksheet
R.h. Himel
 
Sources of finance to start a business
R.h. Himel
 
Openning a company
R.h. Himel
 
Functional areas of a business
R.h. Himel
 
Financial and managerial accounting
R.h. Himel
 
Export and import business
R.h. Himel
 
Entrepreneurship
R.h. Himel
 
Does an engineering student have to study different types of non engineering ...
R.h. Himel
 
Adjusting Entries on Accounting
R.h. Himel
 
How does Ethics important for Accounting
R.h. Himel
 
Corporate social and responsibility (CRS)
R.h. Himel
 
Mobile phone
R.h. Himel
 
Mat-131 presentation
R.h. Himel
 
Data structure-project Queue
R.h. Himel
 
Predicates and quantifiers presentation topics
R.h. Himel
 
Isomorphism Graph
R.h. Himel
 
Ad

Recently uploaded (20)

PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PDF
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
PPTX
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Controller Request and Response in Odoo18
Celine George
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
Dimensions of Societal Planning in Commonism
StefanMz
 
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 

Phython Programming Language

  • 2. Presented by… Minhajul Abedin Rahat(162-15-7689) MD.RAKIB HASAN (162-15-7802) Mantasha Altab Noyela(162-15-7673) MD.Farok Hossain(162-15-7937) Dept of CSE Sec : B Daffodil International University
  • 3. Presented to… Shalauddin(Lecturer) Dept of Natural Science Daffodil International University
  • 4. Contents…  What is Python…?  Differences between program and scripting language  History of Python  Scope of Python  Why do people use Python?  Installing Python IDE  Who uses python today  What can I do with python  A Sample Code  Python code execution  Running Python
  • 5. What is Python…?  Python is a general purpose programming language that is often applied in scripting roles.  So, Python is programming language as well as scripting language.  Python is also called as Interpreted language
  • 6. Differences between program and scripting language Program  a program is executed (i.e. the source is first compiled, and the result of that compilation is expected)  A "program" in general, is a sequence of instructions written so that a computer can perform certain task. Scripting  a script is interpreted  A "script" is code written in a scripting language. A scripting language is nothing but a type of programming language in which we can write code to control another software application.
  • 7. History…  Invented in the Netherlands, early 90s by Guido van Rossum  Python was conceived in the late 1980s and its implementation was started in December 1989  Guido Van Rossum is fan of ‘Monty Python’s Flying Circus’, this is a famous TV show in Netherlands  Named after Monty Python  Open sourced from the beginning
  • 8. Python’s Benevolent Dictator For Life “Python is an experiment in how much freedom program-mers need. Too much freedom and nobody can read another's code; too little and expressive-ness is endangered.” - Guido van Rossum
  • 9. Why was python created? "My original motivation for creating Python was the feel need for a higher level language in the Amoeba [Operating Systems] project. I realized that the development of system administration use in C was taking too long. Moreover, doing these things in the Bourne shell wouldn't work for a variety of reasons. ... So, there was a need for a language that would fill up the gap between C and Bourne shell” - Guido Van Rossum
  • 10. Scope of Python…  Science - Bioinformatics  System Administration -Unix -Web logic -Web sphere  Web Application Development -CGI -Python Servlets
  • 11. Why do people use Python…? Seem to be these: Python is object-oriented : Structure supports such concepts as polymorphism, operation overloading, and multiple inheritance. Indentation : Indentation is one of the greatest feature in Python. It's free (open source) : Downloading and installing Python is free and easy It’s Source code is easily accessible
  • 12. It's powerful : - Dynamic typing - Library utilities - Third party utilities - Automatic memory management It's portable : - Python runs virtually every major platform used today
  • 13. It's mixable : - Python can be linked to components written in other languages easily - Linking to fast, compiled code is useful to intensive problems - Python/C integration is quite common It's easy to use : - It’s have no intermediate compile and link steps as in C/ C++ - Programs are compiled automatically from bytecode - This gives Python the development speed without the performance loss inherent in purely interpreted languages It's easy to learn : - Structure and syntax are pretty natural and easy to grasp
  • 14. Installing Python…  Python is pre-installed on most Unix systems, including Linux and MAC OS X  But for in Windows Operating Systems , user can download from the https://www.python.org/downloads/ - from the above link download latest version of python IDE and install, recent version is 3.4.1 but most of them uses version 2.7.7 only
  • 15.  After installing the Python Ver#2.7.7, go to start menu then click on python 2.7 in that one you can select python (command line) it is prompt with >>>
  • 16. Who uses python today…  Python is being applied in real revenue-generating products by real companies. For instance:  Google makes extensive use of Python in its web search system, and employs Python’s creator.  Intel, Cisco, Hewlett-Packard, Seagate, Qualcomm, and IBM use Python for hardware testing.  ESRI uses Python as an end-user customization tool for its popular GIS mapping products.  The YouTube video sharing service is largely written in Python
  • 17. What can I do with Python…?  System programming  Graphical User Interface Programming  Internet Scripting  Component Integration  Database Programming  Gaming, Images, XML , Robot and more
  • 18. A Sample Code x = 34 - 23 # A comment. y = “Hello” # Another one. z = 3.45 if z == 3.45 or y == “Hello”: x = x + 1 y = y + “ World” # String concat. print x print y
  • 19. Enough to understand the code…  Indentation matters to code meaning - Block structure indicated by indentation  First assignment to a variable creates it - Variable types don’t need to be declared. - Python figures out the variable types on its own.  Assignment is = and comparison is ==  For numbers + - * / % are as expected - Special use of + for string concatenation and % for string formatting (as in C’s printf)  Logical operators are words (and, or, not) not symbols  The basic printing command is print
  • 20. Python Code Execution …  Python’s traditional runtime execution model: source code you type is translated to byte code, which is then run by the Python Virtual Machine. Your code is automatically compiled, but then it is interpreted. Source code extension is .py Byte code extension is .pyc (compiled python code)
  • 21. Running Python… Once you're inside the Python interpreter, type in commands at will. • Examples: >>> print 'Hello world' Hello world # Relevant output is displayed on subsequent lines without the >>> symbol >>> x = [0,1,2] # Quantities stored in memory are not displayed by default >>> x # If a quantity is stored in memory, typing its name will display it [0,1,2] >>> 2+3 5