SlideShare a Scribd company logo
5
Most read
21
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)

PPT
Python ppt
Mohita Pandey
 
PDF
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
Edureka!
 
PPT
Introduction to Python
Nowell Strite
 
PPTX
Python Programming Draft PPT.pptx
LakshmiNarayanaReddy48
 
PPTX
Python
SHIVAM VERMA
 
PPTX
Python tutorial for beginners - Tib academy
TIB Academy
 
PPTX
Python Functions
Mohammed Sikander
 
PPTX
Python
Shivam Gupta
 
PPTX
Introduction to-python
Aakashdata
 
PPTX
Basics of python
SurjeetSinghSurjeetS
 
PPTX
Golang - Overview of Go (golang) Language
Aniruddha Chakrabarti
 
PPTX
Python basics
RANAALIMAJEEDRAJPUT
 
PDF
Python - the basics
University of Technology
 
PPTX
Introduction to python
AnirudhaGaikwad4
 
PPTX
Fundamentals of Python Programming
Kamal Acharya
 
PPTX
Python PPT
Edureka!
 
PPTX
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
PPT
Python Programming ppt
ismailmrribi
 
PDF
Python Basics | Python Tutorial | Edureka
Edureka!
 
PDF
Python Crash Course
Haim Michael
 
Python ppt
Mohita Pandey
 
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
Edureka!
 
Introduction to Python
Nowell Strite
 
Python Programming Draft PPT.pptx
LakshmiNarayanaReddy48
 
Python
SHIVAM VERMA
 
Python tutorial for beginners - Tib academy
TIB Academy
 
Python Functions
Mohammed Sikander
 
Python
Shivam Gupta
 
Introduction to-python
Aakashdata
 
Basics of python
SurjeetSinghSurjeetS
 
Golang - Overview of Go (golang) Language
Aniruddha Chakrabarti
 
Python basics
RANAALIMAJEEDRAJPUT
 
Python - the basics
University of Technology
 
Introduction to python
AnirudhaGaikwad4
 
Fundamentals of Python Programming
Kamal Acharya
 
Python PPT
Edureka!
 
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Python Programming ppt
ismailmrribi
 
Python Basics | Python Tutorial | Edureka
Edureka!
 
Python Crash Course
Haim Michael
 

Similar to Phython Programming Language (20)

PDF
intro.pptx (1).pdf
ANIKULSAIKH
 
PPTX
Python Tutorial | Python Programming Language
anaveenkumar4
 
PPTX
Introduction python
Jumbo Techno e_Learning
 
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
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
Chapter 2: Basics of programming pyton programming
biniyamtiktok
 
PPTX
Python presentation by Monu Sharma
Mayank Sharma
 
PDF
Python Programming Part 1.pdf
percivalfernandez2
 
PDF
Python Programming Part 1.pdf
percivalfernandez2
 
PPTX
Python Introduction
Punithavel Ramani
 
DOCX
Seminar report On Python
Shivam Gupta
 
intro.pptx (1).pdf
ANIKULSAIKH
 
Python Tutorial | Python Programming Language
anaveenkumar4
 
Introduction python
Jumbo Techno e_Learning
 
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
 
cupdf.com_python-seminar-ppt.pptx.........
ansuljoshi8456
 
python-160403194316.pdf
gmadhu8
 
python presntation 2.pptx
Arpittripathi45
 
Python Seminar PPT
Shivam Gupta
 
Chapter 2: Basics of programming pyton programming
biniyamtiktok
 
Python presentation by Monu Sharma
Mayank Sharma
 
Python Programming Part 1.pdf
percivalfernandez2
 
Python Programming Part 1.pdf
percivalfernandez2
 
Python Introduction
Punithavel Ramani
 
Seminar report On Python
Shivam Gupta
 
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)

DOCX
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
PDF
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.06.25.pdf
TechSoup
 
PDF
AI-assisted IP-Design lecture from the MIPLM 2025
MIPLM
 
PPTX
Iván Bornacelly - Presentation of the report - Empowering the workforce in th...
EduSkills OECD
 
PPTX
PLANNING A HOSPITAL AND NURSING UNIT.pptx
PRADEEP ABOTHU
 
PPTX
How to Manage Wins & Losses in Odoo 18 CRM
Celine George
 
PPTX
Connecting Linear and Angular Quantities in Human Movement.pptx
AngeliqueTolentinoDe
 
PPTX
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
PDF
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
PPTX
Life and Career Skills Lesson 2.pptxProtective and Risk Factors of Late Adole...
ryangabrielcatalon40
 
PDF
Supply Chain Security A Comprehensive Approach 1st Edition Arthur G. Arway
rxgnika452
 
PPTX
ENGLISH 8 REVISED K-12 CURRICULUM QUARTER 1 WEEK 1
LeomarrYsraelArzadon
 
PPTX
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
PPTX
How to Configure Taxes in Company Currency in Odoo 18 Accounting
Celine George
 
PDF
Lesson 1 : Science and the Art of Geography Ecosystem
marvinnbustamante1
 
PDF
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
PDF
Nanotechnology and Functional Foods Effective Delivery of Bioactive Ingredien...
rmswlwcxai8321
 
PPTX
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
PDF
Cooperative wireless communications 1st Edition Yan Zhang
jsphyftmkb123
 
PDF
Quiz Night Live May 2025 - Intra Pragya Online General Quiz
Pragya - UEM Kolkata Quiz Club
 
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.06.25.pdf
TechSoup
 
AI-assisted IP-Design lecture from the MIPLM 2025
MIPLM
 
Iván Bornacelly - Presentation of the report - Empowering the workforce in th...
EduSkills OECD
 
PLANNING A HOSPITAL AND NURSING UNIT.pptx
PRADEEP ABOTHU
 
How to Manage Wins & Losses in Odoo 18 CRM
Celine George
 
Connecting Linear and Angular Quantities in Human Movement.pptx
AngeliqueTolentinoDe
 
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
Life and Career Skills Lesson 2.pptxProtective and Risk Factors of Late Adole...
ryangabrielcatalon40
 
Supply Chain Security A Comprehensive Approach 1st Edition Arthur G. Arway
rxgnika452
 
ENGLISH 8 REVISED K-12 CURRICULUM QUARTER 1 WEEK 1
LeomarrYsraelArzadon
 
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
How to Configure Taxes in Company Currency in Odoo 18 Accounting
Celine George
 
Lesson 1 : Science and the Art of Geography Ecosystem
marvinnbustamante1
 
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
Nanotechnology and Functional Foods Effective Delivery of Bioactive Ingredien...
rmswlwcxai8321
 
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
Cooperative wireless communications 1st Edition Yan Zhang
jsphyftmkb123
 
Quiz Night Live May 2025 - Intra Pragya Online General Quiz
Pragya - UEM Kolkata Quiz Club
 

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