Certified Python and Data Science Training – DataFlair
Introduction to Python
Certified Python and Data Science Training – DataFlair
Agenda
 What is Python?
 History of Python
 Features of Python
 Components of Python
 Frameworks for Python
 Flavors of Python
 Why Python?
Certified Python and Data Science Training – DataFlair
What is Python?
An , for general-purpose
programming
interpreted high-level programming language
― Each statement translated into subroutines
― Platform-independent
― Dynamic typing
― Easier debugging
― Automatic memory management
― Adding or changing functions at runtime
― No need to recompile again to test a small section
― Slower
― Checking for errors- dynamic
Certified Python and Data Science Training – DataFlair
What is Python?
An , for general-purpose
programming
interpreted high-level programming language
― Strong abstraction
― Closer to the end-user
― May use elements of natural language
― May be simpler
― May automate areas like memory management
Certified Python and Data Science Training – DataFlair
Certified Python and Data Science Training – DataFlair
History of Python
1980
2000
2008
2017
2020
1980- Conception
19891989- Implementation
2000- Python 2.0 Release
2008- Python 3.0 Release
2017- Python 2.7 to Go Transcompiler
2020- End-of-life: Python 2.7
Guido Van Rossum
Certified Python and Data Science Training – DataFlair
History of Python
Certified Python and Data Science Training – DataFlair
Features of Python
Large
Library
Extensible
and
Embeddable
Easy
Free
and
Open-Source
Object-
oriented
GUI
Programming
Interpreted
Portable
Dynamically
typed
Certified Python and Data Science Training – DataFlair
Components of Python
Functions
Packages Classes
Modules
Certified Python and Data Science Training – DataFlair
Collection of statements
May return a value
Functions
Components of Python
Certified Python and Data Science Training – DataFlair
Packages
Modules
Classes
Components of Python
Certified Python and Data Science Training – DataFlair
Classes
Abstract data type
Holds no values
Components of Python
Certified Python and Data Science Training – DataFlair
Packages
Modules
Components of Python
Certified Python and Data Science Training – DataFlair
Collection of related classes
and functions
Components of Python
Modules
Certified Python and Data Science Training – DataFlair
Packages Collection of related
modules
Components of Python
Certified Python and Data Science Training – DataFlair
Frameworks for Python
Certified Python and Data Science Training – DataFlair
― Free and open-source
― Database-driven websites
― DRY Principle (Don’t Repeat Yourself)
― Instagram, Mozilla, Disqus
Frameworks for Python
Certified Python and Data Science Training – DataFlair
― Web framework
― Microframework
― No database abstraction layer/ form validation
― Extensions
Frameworks for Python
Certified Python and Data Science Training – DataFlair
― Microframework
― Web development
― Fast and light-weight
― Simple
Frameworks for Python
Certified Python and Data Science Training – DataFlair
Frameworks for Python
― Open-source
― Web framework
― High-performing and scalable
― Written in Python
Certified Python and Data Science Training – DataFlair
Frameworks for Python
― Web-framework
― Not a mega-framework
― Not a micro-framework
― Optimal liberty for project
Certified Python and Data Science Training – DataFlair
― Open-source
― Web-framework
― Rapid development
― MVC architecture
― Written in Python
Frameworks for Python
Certified Python and Data Science Training – DataFlair
― Open-source
― Web-framework
― Extensive use of third-party tools
― Deprecated framework
Frameworks for Python
Certified Python and Data Science Training – DataFlair
Flavors of Python
Certified Python and Data Science Training – DataFlair
Flavors of Python
― Most-widely used implementation of Python
― Written in C
― An interpreter
Certified Python and Data Science Training – DataFlair
Flavors of Python
― Implemented in C#
― Extensibility layer to application frameworks
written in a .NET language
Certified Python and Data Science Training – DataFlair
Flavors of Python
― Written in Java
― Can import Java classes
― Compiles to Java bytecode
Certified Python and Data Science Training – DataFlair
Flavors of Python
― MicroPython
― Designed to run on a microcontroller
― Uses a MicroPython board
― This runs MicroPython on bare metal
Certified Python and Data Science Training – DataFlair
Flavors of Python
― Implemented in Python
― Fast
― Easy to experiment with
Certified Python and Data Science Training – DataFlair
Flavors of Python
― Browser Python
― Runs in the browser
Certified Python and Data Science Training – DataFlair
Flavors of Python
― Bridge between Python and Ruby interpreters
― Marshals data between Python and Ruby virtual machines
Certified Python and Data Science Training – DataFlair
Why Python?
Computer
Vision
Build a
website
Scientific
Computing
Machine
Learning
Automate
a web
browser
Develop
a game
Web
Scraping
Data
Analysis
Scripting
Artificial
Intelligence
Robotics
Certified Python and Data Science Training – DataFlair
Thank You
DataFlair
/c/DataFlairWS /DataFlairWS