SlideShare a Scribd company logo
PYTHON PROGRAMMING: I. INTRODUCTION
Engr. Ranel O. Padon
ABOUT ME
My Programming Love Story

BS Geodetic Engineering (Undergraduate Course): C
UP ITDC (Special Training Courses): PHP & MySQL, Java
MS Computer Science (Graduate Course): C, Perl, Java

DGE Projects: MAPD (Java), GeoValuation (Python)

Freelance Project: Lead Web Developer
q  LGIS -> http://www.iesmanila.com/lgis (Drupal)

Corporate Work: Senior Software Engineer at Kite Systems, Ltd.
q  CNN Travel -> http://travel.cnn.com (formerly in Drupal)
q  CNN Arabic -> http://arabic.cnn.com (Drupal)
PYTHON PROGRAMMING TOPICS
I
 •  Introduction to Python Programming
II
 •  Python Basics
III
 •  Controlling the Program Flow
IV
 •  Program Components: Functions, Classes, Modules, and Packages
V
 •  Sequences (List and Tuples), and Dictionaries 
VI
 •  Object-Based Programming: Classes and Objects 
VII
 •  Customizing Classes and Operator Overloading 
VIII
 •  Object-Oriented Programming: Inheritance and Polymorphism 
IX
 •  Randomization Algorithms
X
 •  Exception Handling and Assertions
XI
 •  String Manipulation and Regular Expressions
XII
 •  File Handling and Processing
XIII
 •  GUI Programming Using Tkinter
WHAT IS A COMPUTER?
COMPUTER | EVOLUTION
COMPUTER | HARDWARE
COMPUTER | LOGICAL STRUCTURE
COMPUTER | TRANSISTORS
q  transistor is the basic computing unit of a computer
COMPUTER | TRANSISTORS
q  a transistor has 2 (binary) states: on and off
q  1 bit is represented by 1 transistor
q  8 bits (1 byte) are represented by 8 transistors
COMPUTER | TRANSISTORS
q  thousands/millions of tiny transistors are then embedded in
microchips/integrated circuits (along with resistors and capacitors)
COMPUTER | NATIVE TONGUE
because of transistors, computer uses the binary system/language
LANGUAGE TRANSLATION
Low-Level Language: Assembly Language
LANGUAGE TRANSLATION
Computer Languages’ Levels/Hierarchy
LANGUAGE TRANSLATION
High-Level Languages: Compilation vs Interpretation



 Structure and Speed
LANGUAGE TRANSLATION
Compilation vs Interpretation
Structure and Speed
LANGUAGE TRANSLATION
LANGUAGE TRANSLATION
LANGUAGE TRANSLATION
Modern/Hybrid Languages
LANGUAGE TRANSLATION
COMPUTER PROGRAMMING
The process of designing, writing, testing, debugging, and
maintaining the source code of computer programs. 



This source code is written in one or more programming languages
(such as Java, C++, C#, Python, etc.)
COMPUTER PROGRAMMING
The purpose is to create a set of instructions that computers use to
perform specific operations or to exhibit desired behaviors. 



Requires expertise in many different subjects, including knowledge
of the application domain, specialized algorithms and formal logic.
COMPUTER PROGRAMMING
Application programmers write programs to handle a specific
job, such as a program to track inventory within an
organization. 



They also may revise existing packaged software or
customize generic applications which are frequently
purchased from independent software vendors.
COMPUTER PROGRAMMING
Systems programmers write programs to maintain and control
computer systems software, such as operating systems and
database management systems. 



These workers make changes in the instructions that determine
how the network, workstations, and CPU of the system handle the
various jobs they have been given and how they communicate
with peripheral equipment such as printers and disk drives.
Systems programmers write programs to maintain and
control computer systems software, such as operating
systems and database management systems. 



These workers make changes in the instructions that
determine how the network, workstations, and CPU of the
system handle the various jobs they have been given and
how they communicate with peripheral equipment such as
printers and disk drives.
PROGRAMMING LANGUAGES
PROGRAMMING LANGUAGES
Systems programmers write programs to maintain and
control computer systems software, such as operating
systems and database management systems. 



These workers make changes in the instructions that
determine how the network, workstations, and CPU of the
system handle the various jobs they have been given and
how they communicate with peripheral equipment such as
printers and disk drives.
PROGRAMMING LANGUAGES
Programming languages used in most famous websites
PROGRAMMING LANGUAGES
Systems programmers write programs to maintain and
control computer systems software, such as operating
systems and database management systems. 



These workers make changes in the instructions that
determine how the network, workstations, and CPU of the
system handle the various jobs they have been given and
how they communicate with peripheral equipment such as
printers and disk drives.
PROGRAMMING LANGUAGES: INFLUENCE
q  Basic Programmers
q  Computer Software Engineers
q  Web designers and Developers
q  Computer System Analyst
q  Freelancing Consultant
q  . . .
JOB OPPORTUNITIES
PYTHON
PYTHON
Guido Van Rossum
(The Creator)
PYTHON: THE MAN
PYTHON | GENEALOGY
PYTHON | TIMELINE
PYTHON
http://trends.builtwith.com/framework/Python
PYTHON
http://trends.builtwith.com/framework/Python
PYTHON
http://trends.builtwith.com/framework/Python
https://www.ohloh.net/p/python/estimated_cost
PYTHON
PYTHON
PYTHON
PYTHON
PYTHON
PYTHON
PYTHON
PYTHON
PYTHON
Top 10 Popular Languages
PYTHON
Python is simple & accessible.

q Good compromise language 
q Easy to learn
q Widely-used
q Flexible
PYTHON
easy to learn
PYTHON
widely-used in the Industry (Dropbox uses Python!)
PYTHON
used by the Government
PYTHON
works with C/C++
PYTHON
works with Java and C#
PYTHON
... is Flexible


q  Scripting
q  Procedural Programming
q  Object-Oriented Programming
q  Functional Programming
PYTHON
Common Python Application Domains
PYTHON
Python: Handy, Powerful & Versatile
PYTHON
Read & Practice. 
To be an expert at something, you need 10,000 hours!
PYTHON
But study smarter, not harder. And in order to be productive at
something, you just need the right 20% of the total information.
PYTHON
Find the essentials/most important building blocks
PYTHON
Be an efficient and effective learner.
PYTHON | END NOTES
q  Python is readable, maintainable, beautiful, and elegant.
q  There are many reusable Python libraries out there.
q  Not all things are important: 
q  you don’t have to study all the intricacies of a 
 
programming language to be productive.


q  EQ is very important in programming in general:
q  patience/persistence (never say die attitude) 

q  attention to details (spotting anomalies to the lowest level) 

q  belief/positive thinking (having confidence and an upbeat attitude)
q  resourcefulness/creativity (combining basic language constructs)
q  determination (especially when debugging)
REFERENCES
q  Deitel, Deitel, Liperi, & Wiedermann - Python: How to Program (2001).
q  Disclaimer: Most of the images/information used here have no proper source
citation, and I do not claim ownership of these either. I don’t want to reinvent the
wheel, and I just want to reuse and reintegrate materials that I think are useful or
cool, then present them in another light, form, or perspective. Moreover, the
images/information here are mainly used for illustration/educational purposes
only, in the spirit of openness of data, spreading light, and empowering people
with knowledge. J

More Related Content

What's hot (19)

PPTX
About Python Programming Language | Benefit of Python
Information Technology
 
PPTX
Python - An Introduction
Swarit Wadhe
 
PPTX
Python presentation by Monu Sharma
Mayank Sharma
 
PDF
Introduction to python programming
Srinivas Narasegouda
 
PDF
Python tutorial
Vijay Chaitanya
 
PPTX
Python Tutorial Part 2
Haitham El-Ghareeb
 
PPTX
Python Programming Language
Laxman Puri
 
PPTX
Python programming introduction
Siddique Ibrahim
 
PDF
Python quick guide1
Kanchilug
 
PPTX
Programming
monishagoyal4
 
PPTX
Presentation on python
william john
 
PDF
Why learn python in 2017?
Karolis Ramanauskas
 
DOCX
PYTHON NOTES
Ni
 
PDF
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
Niraj Bharambe
 
PPTX
Python basics
RANAALIMAJEEDRAJPUT
 
PDF
Chapter 0 Python Overview (Python Programming Lecture)
IoT Code Lab
 
PPTX
Introduction about Python by JanBask Training
JanBask Training
 
PPT
Python Programming Language
Dr.YNM
 
PPTX
Python and its Applications
Abhijeet Singh
 
About Python Programming Language | Benefit of Python
Information Technology
 
Python - An Introduction
Swarit Wadhe
 
Python presentation by Monu Sharma
Mayank Sharma
 
Introduction to python programming
Srinivas Narasegouda
 
Python tutorial
Vijay Chaitanya
 
Python Tutorial Part 2
Haitham El-Ghareeb
 
Python Programming Language
Laxman Puri
 
Python programming introduction
Siddique Ibrahim
 
Python quick guide1
Kanchilug
 
Programming
monishagoyal4
 
Presentation on python
william john
 
Why learn python in 2017?
Karolis Ramanauskas
 
PYTHON NOTES
Ni
 
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
Niraj Bharambe
 
Python basics
RANAALIMAJEEDRAJPUT
 
Chapter 0 Python Overview (Python Programming Lecture)
IoT Code Lab
 
Introduction about Python by JanBask Training
JanBask Training
 
Python Programming Language
Dr.YNM
 
Python and its Applications
Abhijeet Singh
 

Viewers also liked (16)

PPTX
Python basics
Hoang Nguyen
 
PDF
Python Programming - VIII. Inheritance and Polymorphism
Ranel Padon
 
PDF
Python Programming - V. Sequences (List and Tuples) and Dictionaries
Ranel Padon
 
PDF
Python Programming - VII. Customizing Classes and Operator Overloading
Ranel Padon
 
PDF
Python Programming - II. The Basics
Ranel Padon
 
PDF
Python Programming - XI. String Manipulation and Regular Expressions
Ranel Padon
 
PDF
Python Programming - IX. On Randomness
Ranel Padon
 
PDF
Python Programming - X. Exception Handling and Assertions
Ranel Padon
 
PDF
Python Programming - VI. Classes and Objects
Ranel Padon
 
PDF
Switchable Map APIs with Drupal
Ranel Padon
 
PDF
Python Programming - XII. File Processing
Ranel Padon
 
PDF
Python Programming - XIII. GUI Programming
Ranel Padon
 
PDF
Instagram PowerPoint
Verna Abante
 
PPTX
Introduction to python for Beginners
Sujith Kumar
 
PPT
Instagram presentation
Gee Ekachai
 
PPT
Introduction to Python
Nowell Strite
 
Python basics
Hoang Nguyen
 
Python Programming - VIII. Inheritance and Polymorphism
Ranel Padon
 
Python Programming - V. Sequences (List and Tuples) and Dictionaries
Ranel Padon
 
Python Programming - VII. Customizing Classes and Operator Overloading
Ranel Padon
 
Python Programming - II. The Basics
Ranel Padon
 
Python Programming - XI. String Manipulation and Regular Expressions
Ranel Padon
 
Python Programming - IX. On Randomness
Ranel Padon
 
Python Programming - X. Exception Handling and Assertions
Ranel Padon
 
Python Programming - VI. Classes and Objects
Ranel Padon
 
Switchable Map APIs with Drupal
Ranel Padon
 
Python Programming - XII. File Processing
Ranel Padon
 
Python Programming - XIII. GUI Programming
Ranel Padon
 
Instagram PowerPoint
Verna Abante
 
Introduction to python for Beginners
Sujith Kumar
 
Instagram presentation
Gee Ekachai
 
Introduction to Python
Nowell Strite
 
Ad

Similar to Python Programming - I. Introduction (20)

PPTX
Lecture-1-Introduction-Sep02-2018 (1).pptx
jamesaaronguevarra1
 
PPTX
Introduction to computers and programming languages
binoysatheesh
 
PPTX
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
PPTX
Chapter 8 getting started with python
Praveen M Jigajinni
 
PPTX
Introduction to python
Jaya Kumari
 
PPTX
Mastering python lesson1
Ruth Marvin
 
PPTX
_python Raunak.pptx
RaunakKumar33449
 
PDF
Introduction to Python and its basics.pdf
sumitt6_25730773
 
PPTX
11 Unit1 Chapter 1 Getting Started With Python
Praveen M Jigajinni
 
PPTX
Csc240 lecture 1
Ainuddin Yousufzai
 
PPTX
Python Class 1
arijit banerjee
 
PPTX
introductiontocomputerprogramming.pptx
HazardRhenz1
 
PPTX
PCEP Module 1.pptx
zakariaHujale
 
DOC
1 cover page
RahulJain1332
 
PPTX
Chapter 5 Getting Started with Python.pptx
priyam737974
 
PPTX
Chapter 5 Getting Started with Python.pptx
DattaArte1
 
PPTX
power point presentation to show oops with python.pptx
bhargavi804095
 
PPTX
Lacture 1- Programming using python.pptx
hello236603
 
PPTX
Python programming language introduction unit
michaelaaron25322
 
PPTX
Cmp2412 programming principles
NIKANOR THOMAS
 
Lecture-1-Introduction-Sep02-2018 (1).pptx
jamesaaronguevarra1
 
Introduction to computers and programming languages
binoysatheesh
 
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
Chapter 8 getting started with python
Praveen M Jigajinni
 
Introduction to python
Jaya Kumari
 
Mastering python lesson1
Ruth Marvin
 
_python Raunak.pptx
RaunakKumar33449
 
Introduction to Python and its basics.pdf
sumitt6_25730773
 
11 Unit1 Chapter 1 Getting Started With Python
Praveen M Jigajinni
 
Csc240 lecture 1
Ainuddin Yousufzai
 
Python Class 1
arijit banerjee
 
introductiontocomputerprogramming.pptx
HazardRhenz1
 
PCEP Module 1.pptx
zakariaHujale
 
1 cover page
RahulJain1332
 
Chapter 5 Getting Started with Python.pptx
priyam737974
 
Chapter 5 Getting Started with Python.pptx
DattaArte1
 
power point presentation to show oops with python.pptx
bhargavi804095
 
Lacture 1- Programming using python.pptx
hello236603
 
Python programming language introduction unit
michaelaaron25322
 
Cmp2412 programming principles
NIKANOR THOMAS
 
Ad

More from Ranel Padon (9)

PDF
The Synergy of Drupal Hooks/APIs (Custom Module Development with ChartJS)
Ranel Padon
 
PDF
CKEditor Widgets with Drupal
Ranel Padon
 
PDF
Views Unlimited: Unleashing the Power of Drupal's Views Module
Ranel Padon
 
PDF
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Ranel Padon
 
PDF
PyCon PH 2014 - GeoComputation
Ranel Padon
 
PDF
Power and Elegance - Leaflet + jQuery
Ranel Padon
 
PDF
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...
Ranel Padon
 
PDF
Of Nodes and Maps (Web Mapping with Drupal - Part II)
Ranel Padon
 
PDF
Web Mapping with Drupal
Ranel Padon
 
The Synergy of Drupal Hooks/APIs (Custom Module Development with ChartJS)
Ranel Padon
 
CKEditor Widgets with Drupal
Ranel Padon
 
Views Unlimited: Unleashing the Power of Drupal's Views Module
Ranel Padon
 
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Ranel Padon
 
PyCon PH 2014 - GeoComputation
Ranel Padon
 
Power and Elegance - Leaflet + jQuery
Ranel Padon
 
Python Programming - IV. Program Components (Functions, Classes, Modules, Pac...
Ranel Padon
 
Of Nodes and Maps (Web Mapping with Drupal - Part II)
Ranel Padon
 
Web Mapping with Drupal
Ranel Padon
 

Recently uploaded (20)

PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
Governing Geospatial Data at Scale: Optimizing ArcGIS Online with FME in Envi...
Safe Software
 
PDF
Sound the Alarm: Detection and Response
VICTOR MAESTRE RAMIREZ
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Introducing and Operating FME Flow for Kubernetes in a Large Enterprise: Expe...
Safe Software
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Governing Geospatial Data at Scale: Optimizing ArcGIS Online with FME in Envi...
Safe Software
 
Sound the Alarm: Detection and Response
VICTOR MAESTRE RAMIREZ
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Introducing and Operating FME Flow for Kubernetes in a Large Enterprise: Expe...
Safe Software
 
Kubernetes - Architecture & Components.pdf
geethak285
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 

Python Programming - I. Introduction