SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Introduction to
Python
Delft, 19 Aug 2019
What is Python?
❏ Multi-purpose (Web, GUI, Scripting, etc.)
❏ Object Oriented
❏ Interpreted
❏ Both strongly typed and dynamically typed
❏ Focus on readability and productivity
Features
❏ Batteries Included
❏ Everything is an Object
❏ Interactive Shell
❏ Strong Introspection
❏ Cross Platform
❏ CPython, Jython, IronPython, PyPy
Releases
❏ Created in 1989 by Guido Van Rossum
❏ Python 1.0 released in 1994
❏ Python 2.0 released in 2000
❏ Python 3.0 released in 2008
❏ Python 2.7 is the recommended version
❏ 3.0 adoption will take a few years
Python popularity among other
languages
TIOBE, Jan 2019 PyPL, Jan 2019
Python among other programming
languages (benchmark)
❏ https://en.wikipedia.org/wiki/List_of_programm
ing_languages_by_type
❏ https://attractivechaos.github.io/plb/
❏ http://www.bioinformatics.org/benchmark/resu
lts.html
❏ https://github.com/kostya/benchmarks
❏ End-users just don’t care: 0.001 vs. 0.01
seconds no matter; horizontal scalability used
❏ More productive: more concise and expressive language and
requires less time, effort, and lines of code to perform the same operations
❏ Execution Speed does not matter as much as
Business Speed
❏ Rich set of standard libraries and frameworks
❏ Large community (packages, Q/A, discussions)
Despite being slow, why is Python still
popular?
How readable is Python?
How readable is Python?
How readable is Python?
How readable is Python?
How readable is Python?
When use and not use Python?
Use
❏ Execution speed does
not matter
❏ Everyone is new to
programming
❏ Readability is more
important
Not use
❏ Speed-intensive
applications including
games that require
high-performance
❏ OS or system-level
applications (e.g.,
memory manipulation)
How to run a Python program
❏ Using embedded interpreter in IDE/Notebook
❏ Using stand-alone interpreter
❏ Using the interactive shell
How to write a Python program
❏ IDE: Eclipse + PyDev, Visual Studio, PyCharm,
Spyder, Thonny
❏ Code editor: Sublime Text, Atom, GNU Emacs,
Vi / Vim / Nano, Visual Studio Code, ...
❏ Notebook: Jupyter, Zeppelin
How to write a Python program
❏ Use IDE: write a complex program,
collaboration in a team, many
dependencies/libraries/binaries
❏ Use code editor: write a simple program
❏ Notebook: interactive, reporting-like
deliverable
Most popular Python IDE/Code Editor
https://insights.stackoverflow.com/survey/201
9#development-environments-and-tools
Python package installer (pip)
❏ pip is the recommended tool to install python package from
python package public repos (such as public PyPI - and its
mirrors) and private repos
❏ pip can install from either Source Distributions (sdist) or
wheels, but if both are present on PyPI, pip will prefer a
compatible wheel (pre-built).
Python public packages (category) [1/2]
❏ Admin Panels
❏ Algorithms and Design Patterns
❏ Audio
❏ Authentication
❏ Build Tools
❏ Built-in Classes Enhancement
❏ Caching
❏ ChatOps Tools
❏ CMS
❏ Code Analysis
❏ Command-line Interface Development
❏ Command-line Tools
❏ Compatibility
❏ Computer Vision
❏ Concurrency and Parallelism
❏ Configuration
❏ Cryptography
❏ Data Analysis
❏ Data Validation
❏ Data Visualization
❏ Database
❏ Database Drivers
❏ Date and Time
❏ Debugging Tools
❏ Deep Learning
❏ DevOps Tools
❏ Distributed Computing
❏ Distribution
❏ Documentation
❏ Downloader
❏ E-commerce
❏ Editor Plugins and IDEs
❏ Email
❏ Environment Management
❏ Files
❏ Foreign Function Interface
❏ Forms
❏ Functional Programming
❏ Game Development
❏ Geolocation
❏ GUI Development
❏ Hardware
❏ HTML Manipulation
❏ HTTP Clients
❏ Image Processing
❏ Implementations
❏ Interactive Interpreter
❏ Internationalization
❏ Job Scheduler
❏ Logging
❏ Machine Learning
Total: 63595 packages
Python public packages (category) [2/2]
❏ Miscellaneous
❏ Natural Language Processing
❏ Network Virtualization
❏ Networking
❏ News Feed
❏ ORM
❏ Package Management
❏ Package Repositories
❏ Permissions
❏ Processes
❏ Queue
❏ Recommender Systems
❏ RESTful API
❏ Robotics
❏ RPC Servers
❏ Science
❏ Search
❏ Serialization
❏ Serverless Frameworks
❏ Specific Formats Processing
❏ Static Site Generator
❏ Tagging
❏ Template Engine
❏ Testing
❏ Text Processing
❏ Third-party APIs
❏ URL Manipulation
❏ Video
❏ Web Asset Management
❏ Web Content Extracting
❏ Web Crawling
❏ Web Frameworks
❏ WebSocket
❏ WSGI Servers
Total: 63595 packages
https://github.com/vinta/awesome-python
Python public package popularity
https://stackoverflow.blog/2017/09/14/python-
growing-quickly/
Python public package popularity
Python modularity
Anaconda
(app+
libraries+
binaries)
*Miniconda is the light
version of Anaconda (less
packages)
Python modularity: conda vs pip
pip installs only Python packages, but conda installs
also the system binaries needed by the Python
packages.
Very important for a non-sudo user to leverage the
server capability
Python modularity in practice
Basic Python Tutorial
❏ We’re using Anaconda
❏ Clone:
https://gitlab.erc.monash.edu.au/andrease/Python4Maths

Contenu connexe

Tendances

Tendances (20)

Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
 
Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Python Basics | Python Tutorial | Edureka
Python Basics | Python Tutorial | EdurekaPython Basics | Python Tutorial | Edureka
Python Basics | Python Tutorial | Edureka
 
What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | Edureka
 
Programming
ProgrammingProgramming
Programming
 
Python PPT
Python PPTPython PPT
Python PPT
 
POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
 
Python
PythonPython
Python
 
Python presentation by Monu Sharma
Python presentation by Monu SharmaPython presentation by Monu Sharma
Python presentation by Monu Sharma
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming ppt
 
Beginning Python Programming
Beginning Python ProgrammingBeginning Python Programming
Beginning Python Programming
 
Python programming
Python  programmingPython  programming
Python programming
 
Python basics
Python basicsPython basics
Python basics
 
Python Programming Language | Python Classes | Python Tutorial | Python Train...
Python Programming Language | Python Classes | Python Tutorial | Python Train...Python Programming Language | Python Classes | Python Tutorial | Python Train...
Python Programming Language | Python Classes | Python Tutorial | Python Train...
 
Python Intro
Python IntroPython Intro
Python Intro
 

Similaire à Introduction to python

Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug
 

Similaire à Introduction to python (20)

Introduction to Python Programming in Civil Engineering
Introduction to Python Programming in Civil EngineeringIntroduction to Python Programming in Civil Engineering
Introduction to Python Programming in Civil Engineering
 
Module1-Chapter1_ppt.pptx
Module1-Chapter1_ppt.pptxModule1-Chapter1_ppt.pptx
Module1-Chapter1_ppt.pptx
 
Beginning python programming
Beginning python programmingBeginning python programming
Beginning python programming
 
ppt summer training ug.pptx
ppt summer training ug.pptxppt summer training ug.pptx
ppt summer training ug.pptx
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academy
 
Ali alshehri c++_comparison between c++&python
Ali alshehri c++_comparison between c++&pythonAli alshehri c++_comparison between c++&python
Ali alshehri c++_comparison between c++&python
 
Start your open source project
Start your open source projectStart your open source project
Start your open source project
 
Build and deploy scientific Python Applications
Build and deploy scientific Python Applications  Build and deploy scientific Python Applications
Build and deploy scientific Python Applications
 
Introduction to Python Programming
Introduction to Python ProgrammingIntroduction to Python Programming
Introduction to Python Programming
 
intro.pptx (1).pdf
intro.pptx (1).pdfintro.pptx (1).pdf
intro.pptx (1).pdf
 
Why learn python in 2017?
Why learn python in 2017?Why learn python in 2017?
Why learn python in 2017?
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
IPT 2.pptx
IPT 2.pptxIPT 2.pptx
IPT 2.pptx
 
Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming Basics
 
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
 
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud RunDesigning flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
 
Python_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdfPython_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdf
 
Introduction To Python
Introduction To PythonIntroduction To Python
Introduction To Python
 
Python games (pygames)
Python games (pygames)Python games (pygames)
Python games (pygames)
 
Let's Contribute
Let's ContributeLet's Contribute
Let's Contribute
 

Dernier

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
gajnagarg
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 

Dernier (20)

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls kakinada Escorts ☎️9352988975 Two shot with one girl...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
 

Introduction to python

  • 2. What is Python? ❏ Multi-purpose (Web, GUI, Scripting, etc.) ❏ Object Oriented ❏ Interpreted ❏ Both strongly typed and dynamically typed ❏ Focus on readability and productivity
  • 3. Features ❏ Batteries Included ❏ Everything is an Object ❏ Interactive Shell ❏ Strong Introspection ❏ Cross Platform ❏ CPython, Jython, IronPython, PyPy
  • 4. Releases ❏ Created in 1989 by Guido Van Rossum ❏ Python 1.0 released in 1994 ❏ Python 2.0 released in 2000 ❏ Python 3.0 released in 2008 ❏ Python 2.7 is the recommended version ❏ 3.0 adoption will take a few years
  • 5. Python popularity among other languages TIOBE, Jan 2019 PyPL, Jan 2019
  • 6. Python among other programming languages (benchmark) ❏ https://en.wikipedia.org/wiki/List_of_programm ing_languages_by_type ❏ https://attractivechaos.github.io/plb/ ❏ http://www.bioinformatics.org/benchmark/resu lts.html ❏ https://github.com/kostya/benchmarks
  • 7. ❏ End-users just don’t care: 0.001 vs. 0.01 seconds no matter; horizontal scalability used ❏ More productive: more concise and expressive language and requires less time, effort, and lines of code to perform the same operations ❏ Execution Speed does not matter as much as Business Speed ❏ Rich set of standard libraries and frameworks ❏ Large community (packages, Q/A, discussions) Despite being slow, why is Python still popular?
  • 8. How readable is Python?
  • 9. How readable is Python?
  • 10. How readable is Python?
  • 11. How readable is Python?
  • 12. How readable is Python?
  • 13. When use and not use Python? Use ❏ Execution speed does not matter ❏ Everyone is new to programming ❏ Readability is more important Not use ❏ Speed-intensive applications including games that require high-performance ❏ OS or system-level applications (e.g., memory manipulation)
  • 14. How to run a Python program ❏ Using embedded interpreter in IDE/Notebook ❏ Using stand-alone interpreter ❏ Using the interactive shell
  • 15. How to write a Python program ❏ IDE: Eclipse + PyDev, Visual Studio, PyCharm, Spyder, Thonny ❏ Code editor: Sublime Text, Atom, GNU Emacs, Vi / Vim / Nano, Visual Studio Code, ... ❏ Notebook: Jupyter, Zeppelin
  • 16. How to write a Python program ❏ Use IDE: write a complex program, collaboration in a team, many dependencies/libraries/binaries ❏ Use code editor: write a simple program ❏ Notebook: interactive, reporting-like deliverable
  • 17. Most popular Python IDE/Code Editor https://insights.stackoverflow.com/survey/201 9#development-environments-and-tools
  • 18. Python package installer (pip) ❏ pip is the recommended tool to install python package from python package public repos (such as public PyPI - and its mirrors) and private repos ❏ pip can install from either Source Distributions (sdist) or wheels, but if both are present on PyPI, pip will prefer a compatible wheel (pre-built).
  • 19. Python public packages (category) [1/2] ❏ Admin Panels ❏ Algorithms and Design Patterns ❏ Audio ❏ Authentication ❏ Build Tools ❏ Built-in Classes Enhancement ❏ Caching ❏ ChatOps Tools ❏ CMS ❏ Code Analysis ❏ Command-line Interface Development ❏ Command-line Tools ❏ Compatibility ❏ Computer Vision ❏ Concurrency and Parallelism ❏ Configuration ❏ Cryptography ❏ Data Analysis ❏ Data Validation ❏ Data Visualization ❏ Database ❏ Database Drivers ❏ Date and Time ❏ Debugging Tools ❏ Deep Learning ❏ DevOps Tools ❏ Distributed Computing ❏ Distribution ❏ Documentation ❏ Downloader ❏ E-commerce ❏ Editor Plugins and IDEs ❏ Email ❏ Environment Management ❏ Files ❏ Foreign Function Interface ❏ Forms ❏ Functional Programming ❏ Game Development ❏ Geolocation ❏ GUI Development ❏ Hardware ❏ HTML Manipulation ❏ HTTP Clients ❏ Image Processing ❏ Implementations ❏ Interactive Interpreter ❏ Internationalization ❏ Job Scheduler ❏ Logging ❏ Machine Learning Total: 63595 packages
  • 20. Python public packages (category) [2/2] ❏ Miscellaneous ❏ Natural Language Processing ❏ Network Virtualization ❏ Networking ❏ News Feed ❏ ORM ❏ Package Management ❏ Package Repositories ❏ Permissions ❏ Processes ❏ Queue ❏ Recommender Systems ❏ RESTful API ❏ Robotics ❏ RPC Servers ❏ Science ❏ Search ❏ Serialization ❏ Serverless Frameworks ❏ Specific Formats Processing ❏ Static Site Generator ❏ Tagging ❏ Template Engine ❏ Testing ❏ Text Processing ❏ Third-party APIs ❏ URL Manipulation ❏ Video ❏ Web Asset Management ❏ Web Content Extracting ❏ Web Crawling ❏ Web Frameworks ❏ WebSocket ❏ WSGI Servers Total: 63595 packages https://github.com/vinta/awesome-python
  • 21. Python public package popularity https://stackoverflow.blog/2017/09/14/python- growing-quickly/
  • 22. Python public package popularity
  • 23. Python modularity Anaconda (app+ libraries+ binaries) *Miniconda is the light version of Anaconda (less packages)
  • 24. Python modularity: conda vs pip pip installs only Python packages, but conda installs also the system binaries needed by the Python packages. Very important for a non-sudo user to leverage the server capability
  • 26. Basic Python Tutorial ❏ We’re using Anaconda ❏ Clone: https://gitlab.erc.monash.edu.au/andrease/Python4Maths