Python ProgrammingPython Programming
Crash Course WorkshopCrash Course Workshop
behzadimbehzadim mariebehzadimariebehzadi mariebehzadimariebehzadi
26-Nov-2018
Scripting Language
â—Ź
What is Scripting Language?
â—Ź
Interpreted Programs vs Compiled Programs
â—Ź
#!
What is Python?
â—Ź
Created in 1990 by Guido van Rossum
â—Ź
Rossum was BDFL until 2018
â—Ź
Origin name from British comedy group Monty Python
â—Ź
An important goal of Python's developers is keeping it fun to use
â—Ź
Interpreted high-level programming language
â—Ź
General-purpose language
â—Ź
Paradigm
– Object-oriented
– Imperative
– Functional
– Procedural
– Reflective
Zen of Python
Available Versions
Python 2.7
2016 → 71.9%
2017 → 63.7%
Why Python?
â—Ź
Designed to be easy to learn and master
â—Ź
Readable and Maintainable Code
â—Ź
Multiple Programming Paradigms
â—Ź
Robust Standard Library
â—Ź
Extensive Support Libraries
â—Ź
Compatible with Major Platforms and Systems
â—Ź
Many Open Source Frameworks and Tools
â—Ź
General Purpose Programming Language
â—Ź
Adopt Test Driven Development
â—Ź
Lots of 3rd Party Tools
â—Ź
Active Open-Source Community
Popularity
Popularity
Productivity
â—Ź
Reduced Development Time
– Code is 2-10x shorter than C, C++, Java
â—Ź
Improved Program Maintenance
– High Readability
â—Ź
Less Training
– Easy to Learn
Python workshop
Python Basics (Comments)
Python Basics (Math Operations)
Python Basics (Variable and Types)
Python Basics (Blocks)
Python Basics (Conditions)
Python Basics (Loops)
Python Basics (Data Structures)
Python Basics (Data Structures)
Python Basics (Data Structures)
More Details (Functions)
More Details (Class)
More Details (Exception Handling)
More Details (Module)
â—Ź
logically organize your Python code
â—Ź
Grouping related code → easy, high readability
â—Ź
Simply, a module is a file consisting of Python code
â—Ź
A module can define functions, classes and variables.
â—Ź
A module can also include runnable code.
The Python Standard Library
â—Ź
Python comes standard with a set of modules, known as the “standard
library”
â—Ź
Incredibly rich and diverse functionality available from the standard library
â—Ź
All common internet protocols, sockets, CGI, OS services, GUI services
(via Tcl/Tk), database, Berkeley style databases, calendar, Python parser,
file globbing/searching, debugger, profiler, threading and synchronisation,
persistency, etc
https://docs.python.org/3/library/
3rd
Party Libraries
http://www.numpy.org/
https://www.scipy.org/
https://matplotlib.org/
https://pandas.pydata.org/
https://scikit-learn.org/
https://pypi.org/project/opencv-python/
Numpy
â—Ź
Numerical Python
â—Ź
Why NumPy?
â—Ź
Designed for scientific computing
â—Ź
Open-Source
â—Ź
ndarray is the core object
â—Ź
Advanced functions to work with arrays
â—Ź
Universal Functions (ufunc)
â—Ź
Basic Linear Algebra
â—Ź
Basic Statistical Operations
â—Ź
Random Simulation
â—Ź
discrete Fourier transforms
â—Ź
mathematical, logical, shape manipulation
â—Ź
Numeric + Numarray ~ NumPy
Numpy / Linear Algebra
Pandas
â—Ź
data manipulation and analysis
â—Ź
data structures and operations for manipulating
numerical tables and time series
â—Ź
The name is derived from the term "panel data"
â—Ź
DataFrame is the Core Object
â—Ź
Suitable for Data Wrangling
â—Ź
Open-Source
Pandas (Data Wrangling)
scikit-learn
â—Ź
free software machine learning library for the Python
â—Ź
Used in data mining and data analysis
â—Ź
Built on NumPy, SciPy, and matplotlib
â—Ź
Open-Source
â—Ź
classification, regression and clustering algorithms
– support vector machines
– random forests
– gradient boosting
– k-means
– DBSCAN
scikit-learn (Data Modeling & Prediction)
Python workshop

More Related Content

PPTX
IHTM Python PCEP Introduction to Python
PDF
Introduction to Python
PPTX
Golang (Go Programming Language)
PDF
Monorepo at Pinterest
PPTX
Go Programming language, golang
PPTX
Advantages of Python Learning | Why Python
PPTX
Introduction to python for dummies
PDF
IHTM Python PCEP Introduction to Python
Introduction to Python
Golang (Go Programming Language)
Monorepo at Pinterest
Go Programming language, golang
Advantages of Python Learning | Why Python
Introduction to python for dummies

What's hot (19)

PPT
python training | python course | python online training
PDF
Kubernetes
PDF
Why go ?
PPTX
Advantages and disadvantages of a monorepo
PDF
Atomic Developer Bundle
PDF
An introduction to go programming language
PDF
The Go programming language - Intro by MyLittleAdventure
PPTX
Golang - Overview of Go (golang) Language
PPTX
Python programming
PPTX
Master the Monorepo
PPTX
Introduction of python programming
PPTX
Golang
PDF
Introduction to python
PDF
PySide
PDF
SoC Python Discussion Group
PDF
Python for beginners
PDF
Quality Assurance in PostgreSQL
PDF
Barcamp Hong Kong 2014 - Introduction to GIT
KEY
Four Python Pains
python training | python course | python online training
Kubernetes
Why go ?
Advantages and disadvantages of a monorepo
Atomic Developer Bundle
An introduction to go programming language
The Go programming language - Intro by MyLittleAdventure
Golang - Overview of Go (golang) Language
Python programming
Master the Monorepo
Introduction of python programming
Golang
Introduction to python
PySide
SoC Python Discussion Group
Python for beginners
Quality Assurance in PostgreSQL
Barcamp Hong Kong 2014 - Introduction to GIT
Four Python Pains
Ad

Similar to Python workshop (20)

PPTX
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
PPTX
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
PPTX
What is python
PDF
python training in chandigarh
PDF
From Basics to Advanced: A Comprehensive Python Programming Guide
PDF
Benefits of Python - 10 Reasons why Programmer
PPTX
Python programming ppt.pptx
PPTX
PYTHON UNIT 1
PDF
Python For All | Software Professionals, QA & DevOps professionals
PDF
Python for All
PDF
A Comprehensive Guide of Python Final Year Projects with Source Code.pdf
PPTX
PYTHION IN DETAIL INFORMATION EDUCATIONAL
PPTX
PYTHON IN DETAIL INFORMATION EDUCATIONAL
PPTX
Ultimate Guide to Hire Dedicated Python Developers for Scalable Backend Solut...
PPTX
Python.pptx
PDF
THE ULTIMATE GUIDE ON PYTHON
PPT
Python Introduction.ppt
PDF
Python quick guide1
PPTX
Introduction to Python Programming Basics
PPTX
Features of python.pptx
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
What is python
python training in chandigarh
From Basics to Advanced: A Comprehensive Python Programming Guide
Benefits of Python - 10 Reasons why Programmer
Python programming ppt.pptx
PYTHON UNIT 1
Python For All | Software Professionals, QA & DevOps professionals
Python for All
A Comprehensive Guide of Python Final Year Projects with Source Code.pdf
PYTHION IN DETAIL INFORMATION EDUCATIONAL
PYTHON IN DETAIL INFORMATION EDUCATIONAL
Ultimate Guide to Hire Dedicated Python Developers for Scalable Backend Solut...
Python.pptx
THE ULTIMATE GUIDE ON PYTHON
Python Introduction.ppt
Python quick guide1
Introduction to Python Programming Basics
Features of python.pptx
Ad

Recently uploaded (20)

PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PPTX
ai_satellite_crop_management_20250815030350.pptx
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PPTX
Measurement Uncertainty and Measurement System analysis
PDF
Design of Material Handling Equipment Lecture Note
PDF
August -2025_Top10 Read_Articles_ijait.pdf
 
PDF
Introduction to Power System StabilityPS
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
Soil Improvement Techniques Note - Rabbi
PPT
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
PPTX
wireless networks, mobile computing.pptx
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
PPTX
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
PPTX
Petroleum Refining & Petrochemicals.pptx
PPTX
PRASUNET_20240614003_231416_0000[1].pptx
PDF
Computer organization and architecuture Digital Notes....pdf
PPTX
Principal presentation for NAAC (1).pptx
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
ai_satellite_crop_management_20250815030350.pptx
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
Measurement Uncertainty and Measurement System analysis
Design of Material Handling Equipment Lecture Note
August -2025_Top10 Read_Articles_ijait.pdf
 
Introduction to Power System StabilityPS
Information Storage and Retrieval Techniques Unit III
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
Soil Improvement Techniques Note - Rabbi
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
wireless networks, mobile computing.pptx
"Array and Linked List in Data Structures with Types, Operations, Implementat...
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
Petroleum Refining & Petrochemicals.pptx
PRASUNET_20240614003_231416_0000[1].pptx
Computer organization and architecuture Digital Notes....pdf
Principal presentation for NAAC (1).pptx

Python workshop