Introduction of Python Tutorial - PowerPoint PPT Presentation

About This Presentation
Title:

Introduction of Python Tutorial

Description:

– PowerPoint PPT presentation

Number of Views:1501
Slides: 34
Provided by: Aakashdata
Category:
Tags:

less

Transcript and Presenter's Notes

Title: Introduction of Python Tutorial


1
Introduction to Python
2
Agenda
  • What is Python?
  • History of Python
  • Features of Python
  • Components of Python
  • Frameworks for Python
  • Flavors of Python
  • Why Python?

3
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

4
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

5
(No Transcript)
6
History of Python
1980
1980- Conception
1989
1989- Implementation
2000
2000- Python 2.0 Release
2008
2008- Python 3.0 Release
2017
2017- Python 2.7 to Go Transcompiler
2020
2020- End-of-life Python 2.7
Guido Van Rossum
7
History of Python
8
Features of Python
Large Library
Easy
Extensible and Embeddable
Interpreted
Dynamically typed
Free and Open-Source
GUI Programming
Object-oriented
Portable
9
Components of Python
Functions
Packages
Classes
Modules
10
Components of Python
Functions
Collection of statements May return a value
11
Components of Python
Packages
Classes
Modules
12
Components of Python
Abstract data type Holds no values
Classes
13
Components of Python
Packages
Modules
14
Components of Python
Collection of related classes and functions
Modules
15
Components of Python
Collection of related modules
Packages
16
Frameworks for Python
17
Frameworks for Python
  • Free and open-source
  • Database-driven websites
  • DRY Principle (Dont Repeat Yourself)
  • Instagram, Mozilla, Disqus

18
Frameworks for Python
  • Web framework
  • Microframework
  • No database abstraction layer/ form validation
  • Extensions

19
Frameworks for Python
  • Microframework
  • Web development
  • Fast and light-weight
  • Simple

20
Frameworks for Python
  • Open-source
  • Web framework
  • High-performing and scalable
  • Written in Python

21
Frameworks for Python
  • Web-framework
  • Not a mega-framework
  • Not a micro-framework
  • Optimal liberty for project

22
Frameworks for Python
  • Open-source
  • Web-framework
  • Rapid development
  • MVC architecture
  • Written in Python

23
Frameworks for Python
  • Open-source
  • Web-framework
  • Extensive use of third-party tools
  • Deprecated framework

24
Flavors of Python
25
Flavors of Python
  • Most-widely used implementation of Python
  • Written in C
  • An interpreter

26
Flavors of Python
  • Implemented in C
  • Extensibility layer to application frameworks
  • written in a .NET language

27
Flavors of Python
  • Written in Java
  • Can import Java classes
  • Compiles to Java bytecode

28
Flavors of Python
  • MicroPython
  • Designed to run on a microcontroller
  • Uses a MicroPython board
  • This runs MicroPython on bare metal

29
Flavors of Python
  • Implemented in Python
  • Fast
  • Easy to experiment with

30
Flavors of Python
  • Browser Python
  • Runs in the browser

31
Flavors of Python
  • Bridge between Python and Ruby interpreters
  • Marshals data between Python and Ruby virtual
    machines

32
Why Python?
Computer Vision
Scientific Computing
Artificial Intelligence
Build a website
Web Scraping
Robotics
Machine Learning
Develop a game
Automate a web browser
Data Analysis
Scripting
33
Thank You
DataFlair
Write a Comment
User Comments (0)
About PowerShow.com