Flash Sale: Save 15% on IT Training

closeClose

Advanced Python Programming

  • Tuition USD $2,495
  • Reviews star_rate star_rate star_rate star_rate star_half 1444 Ratings
  • Course Code TTPS4850
  • Duration 4 days
  • Available Formats Classroom

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.

Skills Gained

Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will learn 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)

Who Can Benefit

This in an intermediate and beyond-level Python course geared for experienced Python programmers, focused on next-level skills for enterprise development.

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.

  • Students should have practical skills equivalent to or should have received training in the following topic(s) as a pre-requisite: TTPS4800: Introduction to Python | Python Programming Basics

Course Details

Detailed Course Syllabus

Python refresher

  • Builtin 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

  • Builtin 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

Time-Permitting Sessions

Advanced data handling

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

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

Appendix A: Bibliography

Appendix B: Python virtual environments

When does class start/end?

Classes begin promptly at 9:00 am, and typically end at 5:00 pm.

Does the course schedule include a Lunchbreak?

Lunch is normally an hour long and begins at noon. Coffee, tea, hot chocolate and juice are available all day in the kitchen. Fruit, muffins and bagels are served each morning. There are numerous restaurants near each of our centers, and some popular ones are indicated on the Area Map in the Student Welcome Handbooks - these can be picked up in the lobby or requested from one of our ExitCertified staff.

How can someone reach me during class?

If someone should need to contact you while you are in class, please have them call the center telephone number and leave a message with the receptionist.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does ExitCertified deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

Does ExitCertified deliver group training?

Yes, we provide training for groups, individuals, and private on sites. View our group training page for more information.

I am very pleased with how the trainings are structured. They are very well prepared and bring a lot of value.

Lab infraestructure is very suitable and works pretty good help to understand better the concepts exposed during the training.

Delivered the expected level of training in an easier to understand way than expected.

Gave an in depth introduction to Security Practices on AWS with a lot of practical examples. I do think the labs could be structured so that they are a bit less cut and paste oriented, but I am guessing that they are trying to shorten the amount of time it takes to get through them to include more topics.

Tommy was a great instructor. We relied on this class to develop our understanding, and we were very happy with the result.

0 options available

There are currently no scheduled dates for this course. If you are interested in this course, request a course date with the links above. We can also contact you when the course is scheduled in your area.

Contact Us 1-800-803-3948
Contact Us Live Chat
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward