SlideShare a Scribd company logo
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
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
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
A Brief Introduction to Python - English
PDF
summer training report on python
PDF
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
PPTX
4_Introduction to Python Programming.pptx
PPTX
Python
PPTX
Learn Python in Pragmatic Way
PPTX
Introduction-to-Python-Programming1.pptx
PDF
Introduction to Python
PDF
Introduction to python
PPTX
python programming unit 1 wala ppt .pptx
PDF
Introduction To Python For Beginners
DOCX
Seminar report on python 3 course
PPTX
Python Mastery: A Comprehensive Guide to Setting Up Your Development Environment
PPTX
Python programming
PPTX
Presentation.pptx
PPTX
Presentation.pptx
PDF
Python final ppt
PDF
Pythonfinalppt 170822121204
PPTX
Python is a high-level, interpreted programming language known for its simpli...
PPTX
Python is a high-level, interpreted programming language known for its simpli...
A Brief Introduction to Python - English
summer training report on python
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
4_Introduction to Python Programming.pptx
Python
Learn Python in Pragmatic Way
Introduction-to-Python-Programming1.pptx
Introduction to Python
Introduction to python
python programming unit 1 wala ppt .pptx
Introduction To Python For Beginners
Seminar report on python 3 course
Python Mastery: A Comprehensive Guide to Setting Up Your Development Environment
Python programming
Presentation.pptx
Presentation.pptx
Python final ppt
Pythonfinalppt 170822121204
Python is a high-level, interpreted programming language known for its simpli...
Python is a high-level, interpreted programming language known for its simpli...
Ad

More from Shiraz LUG (20)

PDF
منطق فازی
PDF
بینایی ماشین
PDF
رایانش ابری
PDF
Ubuntu workshop
PDF
پردازش زبان طبیعی
PDF
امنیت در نرم افزارهای وب
PDF
gnu و fsf پروژه های پیشنهادی
PDF
Embedded Linux
PDF
(رمزنگاری (گذشته، حال، آینده
PDF
(اصول پایه ویدئو و صوت دیجیتال (قسمت دوم
PDF
(اصول پایه ویدئو و صوت دیجیتال (قسمت اول
PDF
HTML 5 گرافیک دو بعدی در
PDF
برنامه نویسی مستقل از پلتفرم با استفاده از .NET Core و C#
PDF
فرصت های برنامه نویسی با بلاک چین
PDF
توانمندسازی سازمان های مردم نهاد
PDF
کنترل ورژن گیت
PDF
Lua زبان برنامه نویسی
PDF
R یادگیری ماشین با استفاده از زبان برنامه نویسی
PDF
برای طراحان گرافیک inkscape
PDF
SMO و SEO آشنایی با
منطق فازی
بینایی ماشین
رایانش ابری
Ubuntu workshop
پردازش زبان طبیعی
امنیت در نرم افزارهای وب
gnu و fsf پروژه های پیشنهادی
Embedded Linux
(رمزنگاری (گذشته، حال، آینده
(اصول پایه ویدئو و صوت دیجیتال (قسمت دوم
(اصول پایه ویدئو و صوت دیجیتال (قسمت اول
HTML 5 گرافیک دو بعدی در
برنامه نویسی مستقل از پلتفرم با استفاده از .NET Core و C#
فرصت های برنامه نویسی با بلاک چین
توانمندسازی سازمان های مردم نهاد
کنترل ورژن گیت
Lua زبان برنامه نویسی
R یادگیری ماشین با استفاده از زبان برنامه نویسی
برای طراحان گرافیک inkscape
SMO و SEO آشنایی با

Recently uploaded (20)

PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
Computer network topology notes for revision
PPTX
Business Acumen Training GuidePresentation.pptx
PPT
Quality review (1)_presentation of this 21
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
Database Infoormation System (DBIS).pptx
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPT
ISS -ESG Data flows What is ESG and HowHow
PDF
annual-report-2024-2025 original latest.
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
climate analysis of Dhaka ,Banglades.pptx
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Clinical guidelines as a resource for EBP(1).pdf
Supervised vs unsupervised machine learning algorithms
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Introduction to Knowledge Engineering Part 1
Computer network topology notes for revision
Business Acumen Training GuidePresentation.pptx
Quality review (1)_presentation of this 21
Galatica Smart Energy Infrastructure Startup Pitch Deck
oil_refinery_comprehensive_20250804084928 (1).pptx
Database Infoormation System (DBIS).pptx
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
ISS -ESG Data flows What is ESG and HowHow
annual-report-2024-2025 original latest.
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj

Python workshop