PYTHON
 Mitch Martin
 Josh Amick
 Abdulla Al-nuaimi
 Brad Gunnells
Points of Interest
 Overview
 Language evolution
 Language concepts
 Examples of usage
 Comparison and Popularity
 Impact and Assessment
What is Python?
 Interpreted, Interactive and Object-oriented
 Remarkable power with clear syntax
 Interfaces to system calls and libraries
 Extensible in C or C++
 Portable (Unix, Mac, MS-DOS, Windows, OS/2)
 Incorporates: modules, exceptions, dynamic
typing, very high level dynamic data types, and
classes
Python name?
 Looking for name that was short,
unique, and slightly mysterious
 Guido van Rossum was reading
“Monty Python ’s Flying Circus” at the
time
 Decided to call new language
PYTHON
History
 Created by Guido van Rossum
 Started during Christmas holidays
1989
 Spent year working on own time
 Success using it in Amoeba Project
 Prompted him to keep improving it
Problem Domain
 Guido van Rossum needed a scripting
language like ABC that could access
Amoeba system calls.
 He also realized it would need to be
extensible so it wouldn’t be specific to
the Amoeba Project.
Problem Domain cont.
 ABC
 Use of indentation for statement
grouping
 Very-high-level data types
 Implementation very different
 Lack of extensibility led to:
 Had experience with Modula-2+
 Talked to designers of Modula-3
 Read Modula-3 report
 Origin of syntax and semantics
used for exception handling
Problem Domain cont.
Language Concepts
 Dynamically Typed
 No need for type declarations before use
 Clean and Concise Syntax
 No Braces or semicolons
 Indentations define blocks ->
 No Switch Statement

Use if...elif...elif...else
 One Constructor per Class
Example:
if x == y:
...block
elif x > y:
...block
else:
...block
Sample Code
class Student():
def __init__(self, argStudentName, argGPA = 0, argClass = "freshman"):
self.StudentName = argStudentName
self.GPA = argGPA
self.Class = argClass
...
Sample Code
Sample Code (cont.)
Python Compared to Other
Languages
 Scripting language
 High-Level
language
 Syntax

Emphasizes
readability

Indentation

If, while, for
http://en.wikipedia.org/wiki/
Image:Python_add5_syntax.png
Comparison con't.
 Free under GNU GPL
 Object oriented
 Very similar to Perl, Ruby, Scheme, Smalltalk &
Tcl
 Can work with other languages such as Java and
C/C++
 Types – Variables
 Duck – Latent typing
 Does not enforce static typing
 Strongly typed
Python Popularity
 Relatively young
language – Created
in early 1990's
 Tens of thousands
of users
 NASA, AstraZeneca
and Honeywell,
Industrial Light and
Magic, Google,
Yahoo
http://www.python.org/pics/pythonHi.gif
Usage
 It can handle small and big projects.
 Actively used in industry and academia.
 It utilizes some of the largest projects
Such as:
 Zope: application server
 BitTorrent: file sharing
 Google: used extensively
Future development
 Python 3.0 (Python 3000)
 New features:

moving map, filter and reduce out of the built-in namespace.
 adding support for optional type declarations.

unifying the str/unicode types, and introducing a separate
mutable bytes type.

converting built-ins to returning iterators (instead of lists),
where appropriate.

removing backward-compatibility features like classic
classes, classic division, string exceptions, and implicit
relative imports.
Questions
Questions are guaranteed in life;
Answers aren’t
????
Bibliography
 http://www.python.org/doc/faq/general/
 http://en.wikipedia.org/wiki/Python_
programming_language
 http://www.ibiblio.org/g2swap/
byteofpython/read/if-statement.html

More Related Content

PDF
WEB PROGRAMMING UNIT VIII BY BHAVSINGH MALOTH
PDF
Web Programming UNIT VIII notes
PPT
Future Programming Language
PPT
Introduction to Python
PPTX
Introduction to JVM languages and Fantom (very brief)
PPT
Programing Language
PDF
introduction of python in data science
PPTX
PRESENTATION ON PYTHON.pptx
WEB PROGRAMMING UNIT VIII BY BHAVSINGH MALOTH
Web Programming UNIT VIII notes
Future Programming Language
Introduction to Python
Introduction to JVM languages and Fantom (very brief)
Programing Language
introduction of python in data science
PRESENTATION ON PYTHON.pptx

Similar to Python222222222222222222222222222(2).ppt (20)

PDF
PL Lecture 01 - preliminaries
PPTX
Python Tutorials.pptx
PPTX
Tools for the Toolmakers
PPTX
Introduction-to-Programming-Languages.pptx
PPTX
Why Python in required in Civil Engineering
PPTX
Session-1_Introduction to Python.pptx
PDF
From Java to Python: beating the Stockholm syndrome
PDF
in the text of a program in a particular language is better to use c.pdf
PPTX
Python | What is Python | History of Python | Python Tutorial
PDF
What is Python ? Why its important ? Institute for Python Course.
PPT
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
PDF
Programming language from scratch to finish (2).pdf
PPTX
Programming in python in detail concept .pptx
PPT
Python Programming Unit1_Aditya College of Engg & Tech
PDF
Intro-to-Python-Part-1-first-part-edition.pdf
ODP
Open Source .NET
PPTX
Python Programming Language
PPTX
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
PPT
Introduction to java new
PPT
Introduction to java new
PL Lecture 01 - preliminaries
Python Tutorials.pptx
Tools for the Toolmakers
Introduction-to-Programming-Languages.pptx
Why Python in required in Civil Engineering
Session-1_Introduction to Python.pptx
From Java to Python: beating the Stockholm syndrome
in the text of a program in a particular language is better to use c.pdf
Python | What is Python | History of Python | Python Tutorial
What is Python ? Why its important ? Institute for Python Course.
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
Programming language from scratch to finish (2).pdf
Programming in python in detail concept .pptx
Python Programming Unit1_Aditya College of Engg & Tech
Intro-to-Python-Part-1-first-part-edition.pdf
Open Source .NET
Python Programming Language
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
Introduction to java new
Introduction to java new
Ad

Recently uploaded (20)

PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
Jana Ojana 2025 Prelims - School Quiz by Pragya - UEMK Quiz Club
PPTX
Approach to a child with acute kidney injury
PPTX
Chapter-4-Rizal-Higher-Education-1-2_081545.pptx
DOCX
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
PPTX
Ppt obs emergecy.pptxydirnbduejguxjjdjidjdbuc
PPTX
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
PDF
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
PDF
African Communication Research: A review
PDF
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
PDF
anganwadi services for the b.sc nursing and GNM
PPTX
INTRODUCTION TO PHILOSOPHY FULL SEM - COMPLETE.pptxINTRODUCTION TO PHILOSOPHY...
PDF
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
PPTX
GW4 BioMed Candidate Support Webinar 2025
PDF
V02-Session-4-Leadership-Through-Assessment-MLB.pdf
PPTX
MMW-CHAPTER-1-final.pptx major Elementary Education
PPTX
Single Visit Endodontics.pptx treatment in one visit
PDF
IS1343_2012...........................pdf
PDF
Unleashing the Potential of the Cultural and creative industries
PDF
Developing speaking skill_learning_mater.pdf
Laparoscopic Imaging Systems at World Laparoscopy Hospital
Jana Ojana 2025 Prelims - School Quiz by Pragya - UEMK Quiz Club
Approach to a child with acute kidney injury
Chapter-4-Rizal-Higher-Education-1-2_081545.pptx
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
Ppt obs emergecy.pptxydirnbduejguxjjdjidjdbuc
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
African Communication Research: A review
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
anganwadi services for the b.sc nursing and GNM
INTRODUCTION TO PHILOSOPHY FULL SEM - COMPLETE.pptxINTRODUCTION TO PHILOSOPHY...
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
GW4 BioMed Candidate Support Webinar 2025
V02-Session-4-Leadership-Through-Assessment-MLB.pdf
MMW-CHAPTER-1-final.pptx major Elementary Education
Single Visit Endodontics.pptx treatment in one visit
IS1343_2012...........................pdf
Unleashing the Potential of the Cultural and creative industries
Developing speaking skill_learning_mater.pdf
Ad

Python222222222222222222222222222(2).ppt

  • 1. PYTHON  Mitch Martin  Josh Amick  Abdulla Al-nuaimi  Brad Gunnells
  • 2. Points of Interest  Overview  Language evolution  Language concepts  Examples of usage  Comparison and Popularity  Impact and Assessment
  • 3. What is Python?  Interpreted, Interactive and Object-oriented  Remarkable power with clear syntax  Interfaces to system calls and libraries  Extensible in C or C++  Portable (Unix, Mac, MS-DOS, Windows, OS/2)  Incorporates: modules, exceptions, dynamic typing, very high level dynamic data types, and classes
  • 4. Python name?  Looking for name that was short, unique, and slightly mysterious  Guido van Rossum was reading “Monty Python ’s Flying Circus” at the time  Decided to call new language PYTHON
  • 5. History  Created by Guido van Rossum  Started during Christmas holidays 1989  Spent year working on own time  Success using it in Amoeba Project  Prompted him to keep improving it
  • 6. Problem Domain  Guido van Rossum needed a scripting language like ABC that could access Amoeba system calls.  He also realized it would need to be extensible so it wouldn’t be specific to the Amoeba Project.
  • 7. Problem Domain cont.  ABC  Use of indentation for statement grouping  Very-high-level data types  Implementation very different  Lack of extensibility led to:
  • 8.  Had experience with Modula-2+  Talked to designers of Modula-3  Read Modula-3 report  Origin of syntax and semantics used for exception handling Problem Domain cont.
  • 9. Language Concepts  Dynamically Typed  No need for type declarations before use  Clean and Concise Syntax  No Braces or semicolons  Indentations define blocks ->  No Switch Statement  Use if...elif...elif...else  One Constructor per Class Example: if x == y: ...block elif x > y: ...block else: ...block
  • 10. Sample Code class Student(): def __init__(self, argStudentName, argGPA = 0, argClass = "freshman"): self.StudentName = argStudentName self.GPA = argGPA self.Class = argClass ...
  • 13. Python Compared to Other Languages  Scripting language  High-Level language  Syntax  Emphasizes readability  Indentation  If, while, for http://en.wikipedia.org/wiki/ Image:Python_add5_syntax.png
  • 14. Comparison con't.  Free under GNU GPL  Object oriented  Very similar to Perl, Ruby, Scheme, Smalltalk & Tcl  Can work with other languages such as Java and C/C++  Types – Variables  Duck – Latent typing  Does not enforce static typing  Strongly typed
  • 15. Python Popularity  Relatively young language – Created in early 1990's  Tens of thousands of users  NASA, AstraZeneca and Honeywell, Industrial Light and Magic, Google, Yahoo http://www.python.org/pics/pythonHi.gif
  • 16. Usage  It can handle small and big projects.  Actively used in industry and academia.  It utilizes some of the largest projects Such as:  Zope: application server  BitTorrent: file sharing  Google: used extensively
  • 17. Future development  Python 3.0 (Python 3000)  New features:  moving map, filter and reduce out of the built-in namespace.  adding support for optional type declarations.  unifying the str/unicode types, and introducing a separate mutable bytes type.  converting built-ins to returning iterators (instead of lists), where appropriate.  removing backward-compatibility features like classic classes, classic division, string exceptions, and implicit relative imports.
  • 18. Questions Questions are guaranteed in life; Answers aren’t ????