Advanced Python

Live Online (VILT) & Classroom Corporate Training Course

Advanced Python Programming training course picks up where Introduction to Python Programming left off, covering some topics in more detail and adding new ones.
Python Logo

How can we help you?

  • CloudLabs
    CloudLabs
  • Projects
    Projects
  • Assignments
    Assignments
  • 24x7 Support
    24x7 Support
  • Lifetime Access
    Lifetime Access
Box

Overview

Learn to program in python and handle classes, libraries, decorators and multithreading. This course will take you through the concepts of advanced python. Master the best practices, libraries and techniques of Python programming.

Box

Objectives

At the end of Advanced Python training course, participants will be able to

  • Leverage OS services
  • Add enhancements to classes
  • Code graphical interfaces for applications
  • Understand advanced Python meta programming concepts
  • Create easy-to-use and easy-to-maintain modules and packages
  • Implement and run unit tests
  • Create multithreaded and multi-process applications
  • Interact with network services
  • Design professional scripts & Query databases
Box

Prerequisites

All participants should be able to write simple Python scripts using basic data types, program structures, and the standard Python library.

Box

Course Outline

  • Built-in data types
  • Lists and tuples
  • Dictionaries and sets
  • Program structure
  • Files and console I/O
  • If statement
  • for
  • Built-in functions
  • User-defined functions
  • Modules and packages
  • Basic OOP

  • The os and os.path modules
  • Environment variables
  • Launching external commands with subprocess
  • Walking directory trees
  • Paths, directories, and filenames
  • Working with file systems

  • Basic date and time classes
  • Different time formats
  • Converting between formats
  • Formatting dates and times
  • Parsing date/time information

  • What is Binary Data?
  • Binary vs text
  • Using the Struct module

  • The Zen of Python
  • Tuples
  • Advanced unpacking
  • Sorting
  • Lambda functions
  • List comprehensions
  • Generator expressions
  • String formatting

  • Four types of function parameters
  • Four levels of name scoping
  • Single/multi-dispatch
  • Relative imports
  • Using __init__ effectively
  • Documentation best practices

  • Class/static data and methods
  • Inheritance (or composition)
  • Abstract base classes
  • Creating attributes with attr
  • Implementing protocols (context, iterator, etc.)

  • Implicit properties
  • globals() and locals()
  • Working with object attributes
  • The inspect module
  • Callable classes
  • Decorators
  • Monkey patching

  • Analyzing programs with pylint
  • Using the debugger
  • Profiling code
  • Testing speed with benchmarking

  • What is a unit test
  • Creating test cases
  • Writing and running tests
  • Test harnesses
  • Working with fixtures

  • The DB API
  • Available Interfaces
  • Connecting to a server
  • Creating and executing a cursor
  • Fetching data
  • Parameterized statements
  • Using Metadata
  • Transaction control
  • ORMs and NoSQL overview

  • Overview
  • Qt Architecture
  • Using designer
  • Standard widgets
  • Event handling
  • Extras

  • Built-in classes
  • Using requests
  • Grabbing web pages
  • Sending email
  • Working with binary data
  • Consuming RESTful services
  • Remote access (SSH)

  • The threading module
  • Sharing variables
  • The queue module
  • The multiprocessing module
  • Creating pools
  • About async programming

  • Running external programs
  • Parsing arguments
  • Creating filters to read text files
  • Logging

  • Working with XML
  • XML modules in Python
  • Getting started with ElementTree
  • Parsing XML
  • Updating an XML tree
  • Creating a new document
  • About JSON
  • Reading JSON
  • Writing JSON
  • Reading/writing CSV files
  • YAML, other formats as time permits

  • Discover the collections module
  • Use defaultdict, Counter, and namedtuple
  • Create dataclasses
  • Store data offline with pickle

  • Annotate variables
  • Learn what type hinting does NOT do
  • Use the typing module for detailed type hints
  • Understand
  • Write stub interfaces
Box

Testimonials