Advanced Python Programming Course Details:

This class explores advanced Python topics and skills with a focus on enterprise development. You’ll learn how to leverage OS services, code graphical application interfaces, create modules and run unit tests, define classes, interact with network series, query databases, and processes XML data. This comprehensive course provides an in-depth exploration of working with the programming language for enterprise development. At the conclusion, you will be able to use Python to complete advanced tasks in the real world.

    No classes are currenty scheduled for this course.

    Call (919) 283-1674 to get a class scheduled online or in your area!

Python refresher

  • Built-in data types
  • Lists and tuples
  • Dictionaries and sets
  • Program structure
  • Files and console I/O
  • If statement
  • for and while loops

OS Services

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

Dates and times

  • Basic date and time classes
  • Different time formats
  • Converting between formats
  • Formatting dates and times
  • Parsing date/time information
  • Binary data
  • What is Binary Data?
  • Binary vs text
  • Using the Struct module

Pythonic programming

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

Functions, modules, and packages

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

Intermediate classes

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

Metaprogramming

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

Developer tools

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

Unit testing with Pytest

  • What is a unit test?
  • Writing tests
  • Working with fixtures
  • Test runners
  • Mocking resources

Database access

  • 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

PyQt

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

Network Programming

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

Multiprogramming

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

Scripting for System Administration

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

Serializing data – XML and JSON

  • 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

Advanced data handling (time permitting)

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

Type hinting (time permitting)

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

*Please Note: Course Outline is subject to change without notice. Exact course outline will be provided at time of registration.

Join an engaging hands-on learning environment, where you’ll learn:

  • Leveraging OS services
  • Enhancements to classes
  • Code graphical interfaces for applications
  • Advanced Python metaprogramming concepts
  • Easy-to-use and easy-to-maintain modules and packages
  • Implementing and run unit tests
  • Creating multithreaded and multi-process applications
  • Interacting with network services
  • Designing professional scripts
  • Querying databases
  • Processing XML, CSV, and JSON data

This course has a 50% hands-on labs to 50% lecture ratio with engaging instruction, demos, group discussions, labs, and project work.

This course is about 50% hands-on lab and 50% lecture, with extensive programming exercises designed to reinforce advanced Python programming skills, concepts and best practices learned in the lessons. Students will write numerous Python scripts to reinforce the major concepts covered in this course. The courses will increase in complexity as more sophisticated techniques are introduced. At the end of each lesson, students will be tested witha set of review questions to ensure that he/she fully grasps the topic. Our courses include ample materials and labs to ensure all students are either appropriately challenged, or assisted, at all times-no matter their skill level.

Before attending this course, you should have:

  • Experience writing Python scripts
  • Working knowledge of Unix/Linux, Mac, or Windows

This is not a basic course.

Experienced Developers, Engineers, Administrators, and anyone focused on advanced skills for enterprise development.

Ready to Jumpstart Your IT Career?

CONTACT US NOW!