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

PPTX
What is Python? An overview of Python for science.
PDF
Python final ppt
PDF
Python Programming - III. Controlling the Flow
PPTX
Python Seminar PPT
PDF
Python Crash Course
PDF
Python programming
PDF
PYTHON CURRENT TREND APPLICATIONS- AN OVERVIEW
PPTX
Introduction to Python Programing
What is Python? An overview of Python for science.
Python final ppt
Python Programming - III. Controlling the Flow
Python Seminar PPT
Python Crash Course
Python programming
PYTHON CURRENT TREND APPLICATIONS- AN OVERVIEW
Introduction to Python Programing

What's hot (19)

PPTX
About Python Programming Language | Benefit of Python
PPTX
Python - An Introduction
PPTX
Python presentation by Monu Sharma
PDF
Introduction to python programming
PDF
Python tutorial
PPTX
Python Tutorial Part 2
PPTX
Python Programming Language
PPTX
Python programming introduction
PDF
Python quick guide1
PPTX
Programming
PPTX
Presentation on python
PDF
Why learn python in 2017?
DOCX
PYTHON NOTES
 
PDF
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
PPTX
Python basics
PDF
Chapter 0 Python Overview (Python Programming Lecture)
PPTX
Introduction about Python by JanBask Training
PPT
Python Programming Language
PPTX
Python and its Applications
About Python Programming Language | Benefit of Python
Python - An Introduction
Python presentation by Monu Sharma
Introduction to python programming
Python tutorial
Python Tutorial Part 2
Python Programming Language
Python programming introduction
Python quick guide1
Programming
Presentation on python
Why learn python in 2017?
PYTHON NOTES
 
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
Python basics
Chapter 0 Python Overview (Python Programming Lecture)
Introduction about Python by JanBask Training
Python Programming Language
Python and its Applications
Ad

Viewers also liked (16)

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

Similar to Python Programming - I. Introduction (20)

PPTX
DEMO On PYTHON WEB Development.pptx
PPTX
An Introduction To Python - Python, Print()
PPT
Python Intro For Managers
PDF
Programming Languages and Development Tools: State of the Art and (Hopefully)...
PDF
Specification Of The Programming Language Of Java
PPTX
STARTING A CAREER IN PROGRAMMING
PPTX
Navigating the Tech Landscape of Software Development
PPT
introduction to computer programming CPPL1.ppt
PPT
Python Programming Unit1_Aditya College of Engg & Tech
PPTX
Why Python in required in Civil Engineering
PPTX
MODULE 1.pptx
PPTX
Introduction-to-Programming-Languages.pptx
PDF
C Programming for Beginners – Master the C Language.pdf
PPTX
Computer Programming Computer Programming Computer Programming
PDF
Module 1 Review of Python Basics An Introduction
PPTX
RK_Presentation_Science_current technology.pptx
PDF
Fantasy cricket game using python(intershala project)
 
PDF
Welcome To CNC Web World.pdf
PDF
Pyhton-1a-Basics.pdf
PPTX
C-Programming-Language an overview.pptxx
DEMO On PYTHON WEB Development.pptx
An Introduction To Python - Python, Print()
Python Intro For Managers
Programming Languages and Development Tools: State of the Art and (Hopefully)...
Specification Of The Programming Language Of Java
STARTING A CAREER IN PROGRAMMING
Navigating the Tech Landscape of Software Development
introduction to computer programming CPPL1.ppt
Python Programming Unit1_Aditya College of Engg & Tech
Why Python in required in Civil Engineering
MODULE 1.pptx
Introduction-to-Programming-Languages.pptx
C Programming for Beginners – Master the C Language.pdf
Computer Programming Computer Programming Computer Programming
Module 1 Review of Python Basics An Introduction
RK_Presentation_Science_current technology.pptx
Fantasy cricket game using python(intershala project)
 
Welcome To CNC Web World.pdf
Pyhton-1a-Basics.pdf
C-Programming-Language an overview.pptxx

More from Ranel Padon (9)

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

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Machine learning based COVID-19 study performance prediction
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Electronic commerce courselecture one. Pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine learning based COVID-19 study performance prediction
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Weekly Chronicles - August'25 Week I
Building Integrated photovoltaic BIPV_UPV.pdf
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Unlocking AI with Model Context Protocol (MCP)
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Electronic commerce courselecture one. Pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm

Python Programming - I. Introduction