Advanced Python Programming / Next-Level Python

Intermediate and Beyond-Level Python Programming Skills for Python Experienced Developers

TTPS4850

Intermediate and Beyond

4 Days

Course Overview

Advanced Python Programming is a practical, hands-on Python training course that thoroughly explores intermediate to advanced level topics and skills, with a focus on enterprise development.  Throughout the course, students will learn how to Leverage OS services, Code graphical interfaces for applications, create modules and run unit tests, define classes, interact with network services, query databases, process XML data, and much more.  This comprehensive, practical course provides an in-depth exploration of working with the programming language, not an academic overview of syntax and grammar. 

Course Objectives

This course is approximately 50% hands-on, combining expert lecture, real-world demonstrations and group discussions with machine-based practical labs and exercises.  Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" experience into every classroom.  

Working in a hands-on learning environment led by our expert practitioner, attendees will learn advanced skills needed to:

  • Leverage OS services
  • Add enhancements to classes
  • Code graphical interfaces for applications
  • Understand advanced Python metaprogramming 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
  • Process XML, CSV,  and JSON data
  • Working with more data types if time permits
  • Using type hints if time permits

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional python, web development, data science, machine learning and other related topics that may be blended with this course for a track that best suits your needs. Our team will collaborate with you to understand your needs and will target the course to focus on your specific learning objectives and goals.

Course Prerequisites

This in an intermediate and beyond level Python course geared for students experienced with Python who want to use Python in web development projects or automate or simplify common tasks with the use of Python scripts.  Basic incoming practical experience working with Python is required, along with a working, user-level knowledge of Unix/Linux, Mac, or Windows.  This course does not cover Python fundamentals.

Please see the Related Courses tab for specific Pre-Requisite courses, Related Courses that offer similar skills or topics, and next-step Learning Path recommendations.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

  1. Python Quick Refresher
  • Builtin data types
  • Lists and tuples
  • Dictionaries and sets
  • Program structure
  • Files and console I/O
  • If statement
  • for and while loops
  1. 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
  1. Dates and Times
  • Basic date and time classes
  • Different time formats
  • Converting between formats
  • Formatting dates and times
  • Parsing date/time information
  1. Binary Data
  • What is Binary Data?
  • Binary vs text
  • Using the Struct module
  1. Pythonic Programming
  • The Zen of Python
  • Tuples
  • Advanced unpacking
  • Sorting
  • Lambda functions
  • List comprehensions
  • Generator expressions
  • String formatting
  1. 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
  1. Intermediate classes
  • Class/static data and methods
  • Inheritance (or composition)
  • Abstract base classes
  • Implementing protocols (context, iterator, etc.) with special methods
  1. Metaprogramming
  • Implicit properties
  • globals() and locals()
  • Working with object attributes
  • The inspect module
  • Callable classes
  • Decorators
  • Monkey patching
  1. Developer Tools
  • Analyzing programs with pylint
  • Using the debugger
  • Profiling code
  • Testing speed with benchmarking
  1. Unit testing with PyTest
  • What is a unit test?
  • Writing tests
  • Working with fixtures
  • Test runners
  • Mocking resources
  1. 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
  1. PyQt
  • Overview
  • Qt Architecture
  • Using designer
  • Standard widgets
  • Event handling
  • Extras
  1. Network Programming
  • Builtin classes
  • Using requests
  • Grabbing web pages
  • Sending email
  • Working with binary data
  • Consuming RESTful services
  • Remote access (SSH)
  1. Multiprogramming
  • The threading module
  • Sharing variables
  • The queue module
  • The multiprocessing module
  • Creating pools
  • About async programming
  1. Scripting for System Administration
  • Running external programs
  • Parsing arguments
  • Creating filters to read text files
  • Logging
  1. 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

Time Permitting Sessions

  1. Advanced data handling
  • Discover the collections module
  • Use defaultdict, Counter, and namedtuple
  • Create dataclasses
  • Store data offline with pickle
  1. Type hinting
  • 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

Course Materials

Student Materials: Each student will receive a Student Guide with course notes, code samples, software tutorials, diagrams and related reference materials and links (as applicable). Our courses also include step by step hands-on lab instructions and and solutions, clearly illustrated for users to complete hands-on work in class, and to revisit to review or refresh skills at any time. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Attend a Course

Please see the current upcoming available open enrollment course dates posted below. Please feel free to Register Online below, or call 844-475-4559 toll free to connect with our Registrar for assistance. If you need additional date options, please contact us for scheduling.

Course Title Days Date Time Price
Advanced Python Programming / Next-Level Python 4 Days Jun 22 to Jun 25 10:00 AM to 06:00 PM EST $2,495.00 Enroll
Advanced Python Programming / Next-Level Python 4 Days Jul 27 to Jul 30 10:00 AM to 06:00 PM EST $2,495.00 Enroll
Advanced Python Programming / Next-Level Python 4 Days Sep 7 to Sep 10 10:00 AM to 06:00 PM EST $2,495.00 Enroll
Advanced Python Programming / Next-Level Python 4 Days Oct 12 to Oct 15 10:00 AM to 06:00 PM EST $2,495.00 Enroll
Advanced Python Programming / Next-Level Python 4 Days Nov 15 to Nov 18 10:00 AM to 06:00 PM EST $2,495.00 Enroll

New Site, BIG Savings!
We're celebrating the launch of our lonnngggg awaited new site with with *50% off all 2021 Public Classes* booked by April 30!  Check out our Current Offers for Individuals, Teams and Organizations to Learn for Less!

See our latest Offers and Promotions

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More