Overview

This online training course is a deeper dive into Python, a dynamic language popular for web development, IT security, big data, science, and scripting. This Python online training course covers debugging, generators, decorators, mutations, one-liners, context managers, and more!

COURSE INSTRUCTOR: Edem Francios, Coding and Development
COURSE DIFFICULTY: Intermediate
COURSE DURATION: 19h 23m

After completing this online training course, students will be able to:

  • Understand debugging
  • Understand different generators and their uses
  • Understand decorators and their uses
  • Understand mutation and its uses
  • Understand collection and its uses
  • How to utilize one-liners
  • Module renaming
  • Implementation of Context Managers

This online training course is for anyone looking to get a better understanding of Python and how it can be used to develop applications.

Some Python experience is suggested.

  1. *args and **kwargs
  • Usage of *args
  • Usage of **kwargs
  • Using *args and **kwargs to call a function
  • When to use them
  1. Debugging
  • Running from the command line
  • Running from inside a script
  • Commands
  1. Generators
  • Iterable
  • Iterator
  • Iteration
  • Generators
  1. Map, Filter and Reduce
  • Map
  • Filter
  • Reduce
  1. Decorators
  • Everything in Python is an object
  • Defining functions within functions
  • Returning functions from within functions
  • Giving a function as an argument to another function
  • Writing your first decorator
    • Use-cases
      • Authorization
      • Logging
  • Decorators with Arguments
    • Nesting a Decorator Within a Function
    • Decorator Classes
  1. Global & Return
  • Multiple return values
  1. Mutation
  1. _slots_
  1. Virtual Environment
  1. Collection
  • defaultdict
  • OrderedDict
  • Counter
  • deque
  • namedtuple
  • Enum
  1. Enumerate
  1. Zip and unzip
  • Zip
  • Unzip
  1. Object introspection
  • dir
  • type and id
  • inspect module
  1. Comprehensions
  • list comprehension
  • dict comprehension
  • set comprehension
  • generator comprehension
  1. Exceptions
  • Handling multiple exceptions
    • finally clause
    • try/else clause
  1. One-Liners
  • Simple Web Server
  • Pretty Printing
  • Profiling a script
  • CSV to json
  • List flattening
  • One-Line Constructors
  1. For / Else
  • else Clause
  1. Python C extensions
  • CTypes
  • SWIG
  • Python/C API
  1. Targeting Python 2 & Python 3
  • Future imports
  • Dealing with module renaming
  • Obsolete Python 2 builtins
  • External standard-library backports
  1. Coroutines
  1. Function Caching
  • Python 3.2+
  • Python 2+
  1. Context Managers
  • Implementing a Context Manager as a class
  • Handling Exceptions
  • Implementing a Context Manager as a Generator
  1. Multithreading
  • Starting a new Thread
  • Python threading module
  • Synchronizing threads
  • Multithreading Priority Queue