Introduction to Python: Introduction to Python
Slide2: Agenda What is Python? History of Python Features of Python Components of Python Frameworks for Python Flavors of Python Why Python?
Slide3: What is Python? An , for general-purpose programming interpreted h igh-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
Slide4: What is Python? An , for general-purpose programming interpreted h igh-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
Slide6: History of Python 1980 2000 2008 2017 2020 1980- Conception 1989 1989- 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
Slide7: History of Python
Slide8: Features of Python Large Library Extensible a nd Embeddable Easy Free and Open-Source Object-oriented GUI Programming Interpreted Portable Dynamically typed
Slide9: Components of Python Functions Packages Classes Modules
Slide10: Collection of statements May return a value Functions Components of Python
Slide11: Packages Modules Classes Components of Python
Slide12: Classes Abstract data type Holds no values Components of Python
Slide13: Packages Modules Components of Python
Slide14: Collection of related classes and functions Components of Python Modules
Slide15: Packages Collection of related modules Components of Python
Slide16: Frameworks for Python
Slide17: Free and open-source Database-driven websites DRY Principle (Don’t Repeat Yourself) Instagram , Mozilla, Disqus Frameworks for Python
Slide18: Web framework Microframework No database abstraction layer/ form validation Extensions Frameworks for Python
Slide19: Microframework Web development Fast and light-weight Simple Frameworks for Python
Slide20: Frameworks for Python Open-source Web framework High-performing and scalable Written in Python
Slide21: Frameworks for Python Web-framework Not a mega-framework Not a micro-framework Optimal liberty for project
Slide22: Open-source Web-framework Rapid development MVC architecture Written in Python Frameworks for Python
Slide23: Open-source Web-framework Extensive use of third-party tools Deprecated framework Frameworks for Python
Slide24: Flavors of Python
Slide25: Flavors of Python Most-widely used implementation of Python Written in C An interpreter
Slide26: Flavors of Python Implemented in C# Extensibility layer to application frameworks written in a .NET language
Slide27: Flavors of Python Written in Java Can import Java classes Compiles to Java bytecode
Slide28: Flavors of Python MicroPython Designed to run on a microcontroller Uses a MicroPython board This runs MicroPython on bare metal
Slide29: Flavors of Python Implemented in Python Fast Easy to experiment with
Slide30: Flavors of Python Browser Python Runs in the browser
Slide31: Flavors of Python Bridge between Python and Ruby interpreters Marshals data between Python and Ruby virtual machines
Slide32: 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
Slide33: Thank You DataFlair / c/ DataFlairWS / DataFlairWS