What the Python Advanced course covers
⊕ Expand full topic list
Unit 1: Advanced Flow Control
- Using else Clauses on Loops
- Investigating an Alternative to Loop else Clauses
- Using the try..except..else Construct
- Emulating Switch
- Dispatching on Type
⊕ See more
Unit 2: Byte Oriented Programming
- Understanding Bitwise Operators
- Investigating the Bytes Type in Depth
- Using the Mutable Bytearray Sequence
- Interpreting Byte Streams with the Struct Module
- Using Memory Views
- Using Memory-Mapped Files
⊕ See more
Unit 3: Object Internals and Custom Attributes
- Understanding how Python Objects are Stored?
- Using vars() to Access dict
- Overriding getattribute()
- Using Special Methods which Bypass getattribute ()
- Locating the Methods
- Reducing Memory Usage Using Slots
⊕ See more
Unit 4: Descriptors
- Reviewing Properties
- Unravelling the Property Function
- Implementing a Descriptor
- Retrieving Descriptors on Classes
- Understanding Data Versus Non-Data Descriptors
⊕ See more
Unit 5: Instance Creation
- Understanding Instance Creation
- Customising Allocation
⊕ See more
Unit 6: Metaclasses
- Understanding the Object Class
- Understanding how a Class is Allocated and Initialised
- Passing Additional Arguments to the Metaclass
- Investigating Metaclass Methods and Visibility
- Utilising Fine-Grained Instantiation Control with Metaclass Call()
- Examining Practical Metaclass Examples
- Understanding Inheritance in Metaclasses
⊕ See more
Unit 7: Class Decorators
- Introducing Class Decorators
- Enforcing Constraints with a Class Decorator
- Enforcing Constraints for Properties
- Chaining Class Decorators
⊕ See more
Unit 8: Abstract Base Classes
- Understanding Abstract Base-Classes
- Discussing Why Abstract Base-Classes are Useful?
- Understanding Duck Typing
- Understanding Abstract Base-Classes in Python
- Defining Subclasses with subclasscheck()
- Understanding Non-Transitivity of Subclass Relationships
- Resolving Method Calls in Virtual Base-Classes
- Investigating Library Support for Abstract Base-Classes
- Combining Abstractmethod with other Decorators
- Propagating Abstractness Through Descriptors
- Fixing our @invariant Class Decorator with ABCs
⊕ See more