Learn about the more advanced features of the Python language.
Overview
Syllabus
Introduction
- Introduction
- Getting set up
- Python coding style
- Understanding strings vs. bytes
- The assignment expression
- Boolean types and values
- Template strings
- Documentation strings
- Variable argument lists
- Lambda functions
- Keyword-only arguments
- Challenge: Advanced functions
- Solution: Advanced functions
- Introduction to comprehensions
- List comprehensions
- Dictionary comprehensions
- Set comprehensions
- Challenge: Comprehensions
- Solution: Comprehensions
- Python classes overview
- Defining enumerations
- Special methods: string values
- Special methods: computed attributes
- Special methods: operations
- Special methods: comparisons
- Challenge: Special methods
- Solution: Special methods
- Overview of pattern matching
- Simple patterns
- Capture patterns
- Class patterns
- Sequence patterns
- Pattern guards
- Challenge: Patterns
- Solution: Patterns
- Next steps
Taught by
Joe Marini