Advanced Python Course – 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).
Public Online Advanced Python Course Availability
Advanced Python Programming – PYT200 – 3 Days Request a Class Date
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.
Additional Multi-Enrollment Discounts Available at Check-Out
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!
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
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
- 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