Advanced Python Programming Training Course

Advanced Python Programming – PYT200 – 3 Days

This Advanced Python three day training class covers topics from basic syntax to more advanced topics such as metaclasses. Our Advanced Python training Class includes the syntax for both Python 2 and 3. The Advanced Python course is 3 days and covers more advanced topics compared to our introduction class. At the beginning of class we review basic Python concepts covered in our Introduction to Python Programming class (PYT100).

Advanced Python training course provides participants intermediate/advanced level topics of using the Python programming language. It builds upon the first course in the series which discusses language fundamentals and introduces the Python Standard Library. In the Advanced Python training students will course features numerous code examples, instructor demonstrations, participant code walkthroughs, and participant-based exercises.

Check out the quick Python video tutorial to see some of what you will learn!

Advanced Python Programming – PYT 200 – 3 Days ENROLL NOW - Individuals & Small GroupsGet a Group Quote

This Advanced Python training class covers topics from basic syntax to more advanced topics such as metaclasses.  Our Advanced Python training Class includes the syntax for both Python 2 and 3.   Advanced Python training course provides participants intermediate/advanced level topics of using the Python programming language and introduces the Python Standard Library. 

Location Instructor-Led Online
April 30, 2014 - May 2, 2014
8:00 AM - 4:00 PM
Super Nova - Offer Ends: 03/28/2014$1,545
Fire Starter - Offer Ends: 04/18/2014$1,635
Last Chance - Offer Ends: 04/28/2014$1,695
June 25, 2014 - June 27, 2014
8:00 AM - 4:00 PM
Super Nova - Offer Ends: 05/16/2014$1,545
Fire Starter - Offer Ends: 06/06/2014$1,635
Last Chance - Offer Ends: 06/18/2014$1,695

Course ID: PYT200 Duration: 3 days

Audience: Open to all those that are new to the Python programming language. Users who want to learn Python and use it for application development, system administration, or just to automate tasks in a simple, yet powerful way.

Prerequisites:Some programming experience, object-oriented fundamentals is essential to getting the full benefit from this course. Typically knowledge of another OO language, such as C++, Java, C#, or similar is sufficient. Knowledge of HTML and XML is useful as well as having exposure to web applications and server-side development is recommended.

Advanced Python Training Course Outline

Day 1
Working with Files

  • Reading from Files
  • Reading Lines from Files
  • Reading JSON from Files
  • Writing and Appending to Files
  • Using ‘with’ to Manage Resources
  • File Attributes
  • Hands-on Lab Exercises

Python Classes

  • Introduction to Object-Oriented Python
  • Creating Your First Class
  • Inheritance
  • Multiple Inheritance and Method Resolution Order
  • Accessing Attributes
  • Superclass Methods
  • Method Overloading
  • Class Attributes
  • Static and Class Methods
  • Hands-on Lab Exercises

Unit Testing

  • Introduction to Unit Testing
  • The unittest Module
  • Assertions
  • Test Suites
  • Hands-on Lab Exercises

Day 2
Advanced Classes

  • Documenting Your Class
  • Private Attributes
  • Defining Properties
  • __setitem__ and __getitem__
  • Operator Overloading
  • Making a Class Iterable
  • Abstract Classes
  • Class Decorators
  • Class Decorators with Arguments
  • MetaClass Programming
  • Hands-on Lab Exercises

Functional Programming

  • Lambdas
  • Passing Functions as Parameters
  • List Comprehensions
  • Nested List Comprehensions
  • Map, Reduce, and Filter
  • Generators
  • Coroutines
  • Hands-on Lab Exercises

Working with XML

  • Parsing XML
  • SAX vs DOM Parsers
  • The xml.parsers.expat Module
  • Handling Unicode
  • The xml.sax and xml.sax.handler Modules
  • Parsing with minidom
  • Building XML with minidom
  • Parsing XML with ElementTree
  • Working with the Element Class
  • The ElementTree Class
  • Hands-on Lab Exercises
Regular Expressions

  • The re Module
  • A Quick Regular Expression Primer
  • match() and search()
  • The findall() and finditer() Functions
  • The Pattern Object
  • The Match Object
  • Working with Groups
  • start(), end(), and span()
  • Regex Flags: IGNORECASE and VERBOSE
  • DOTALL and MULTILINE
  • The re.sub() and re.split() Functions
  • Hands-on Lab Exercises

Day 3
Data Persistence

  • Types of Persistence
  • The shelve module
  • Python Database API 2.0
  • The sqlite3 Module
  • Working with sqlite3
  • Using ‘With’ to Manage Connections
  • Connecting to Various RDBMS’
  • Introduction to SQLAlchemy
  • The SQLAlchemy Engine
  • SQLAlchemy Sessions
  • Finding and Modifying Objects with SQLAlchemy
  • Hands-on Lab Exercises

Multithreading and Multiprocessing

  • Why Multithread?
  • A Quick Example
  • The run() method
  • Synchronizing Threads
  • RLocks
  • Semaphores
  • The Global Interpreter Lock
  • The Multiprocessing Module
  • Hands-on Lab Exercises

Web Services

  • Introduction to Web Services
  • Calling SOAP Web Services
  • A Restful Web Service Primer
  • Consuming RESTful Web Services
  • Python Web Frameworks
  • Flask Example
  • Hands-on Lab Exercises