Advanced Python Programming 2.x and 3.x - PYT200
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. 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!
Check out the quick Python video tutorial to see some of what you will learn!
| Next public classes scheduled: | ||
|---|---|---|
| Jun 11 2012 | ||
Course ID: PYT200
Duration: 3 days
Audience: The Advanced Python course is designed for developers looking to expand their knowledge of Python or for those who have completed the first part in this series. Advanced Python training is suitable for developers, programmers and system administrators.
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.
Topics:
Functions and Program Flow
- More with Functions
- Variable Scope
- Introducing Lambdas
- Exception Handling
- try-except-else
- try-finally
- Custom Exceptions
- Advanced Looping Techniques
- Introducing Iterators and Magic Methods
- Generators
- Coroutines
Classes in Python
- Modules Revisited
- Creating Classes in Python
- Classes are Namespaces
- Working with Instances
- __dict__, __setitem__(), __getitem__()
- __getattr__ and __setattr__
- Constructors
- Where's public and private?
- Self and Instances
- Class Variables
- Class Attributes in Instance Methods
- Classic vs "New Style" Classes
- Inheritance
- Using super()
- Multiple Inheritance
- Determining Method Resolution Order
- Search Order in Instances and Hierarchies
- Abstract Classes
- Lack of Interfaces
- Operator Overloading
- Static and Class Methods
- Properties
- __slots__
- List Comprehensions
Introducing System Administration and the Python Standard Library
- System Administration with Python
- Using the Python Standard Library
- Introducing Jython Scripting
Advanced Programming with Functions and Metaclasses
- Introduction to Functional Programming
- Closures
- Decorators
- Metaclass Programming
Classes in Python
- Modules Revisited
Regular Expressions, Searching, Pattern Matching
- Regular Expressions
Working with XML
- Overview of Python's XML Offerings
- Parsing XML
- Using LXML
Data Persistence
- Pickle, shelve, dbm, anydbm Modules
- ORM in Python: SQLAlchemy
- Incorporating Transactions
- Database Account Example
Sys Admin Scripting Revisited
- Tuning Tips and Command-line Options
- Subprocesses
- Linking Subprocesses
- Comparing files
Multi-threading
- Threading Basics
- Locking
- Semaphores
- Multiprocessing Module
Appendices:
- Python Overview Python Data Types
- Working with HTML Network Protocols Intro to GUIs



