Advanced Python: Classes and Functions
2h 17mAdvanced2024-08-12
Authors

Joe Marini
Senior Developer Advocate at Google, Developer
Course details
Python has become the language of choice of many developers for building all kinds of applications across a wide range of industries, but to fully take advantage of its power and flexibility, you need to master all its advanced functionality. Python is a flexible, customizable language that provides features that other languages support only through third-party libraries or require that you build yourself. In this course, Joe Marini takes you through some of the more advanced features of the Python language. Joe shows you how to write code that is easier to read and maintain, build classes that work just like the ones that are native to the language, and work with some of the newest features of the language itself, like structural pattern matching. If you're ready to take your Python skills to the next level, join Joe in this course.
Skills covered
AdvancedPythonProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Introduction
- 02 - Getting set up
- 03 - Tour of CoderPad
1. Language Features
- 04 - Python coding style
- 05 - Understanding strings vs. bytes
- 06 - The assignment expression
- 07 - Boolean types and values
- 08 - Template strings
2. Advanced Functions
- 09 - Documentation strings
- 10 - Variable argument lists
- 11 - Lambda functions
- 12 - Keyword-only arguments
- 13 - Solution - Advanced Functions
3. Python Comprehensions
- 14 - Introduction to comprehensions
- 15 - List comprehensions
- 16 - Dictionary comprehensions
- 17 - Set comprehensions
- 18 - Solution - Comprehensions
4. Classes and Objects
- 19 - Python classes overview
- 20 - Defining enumerations
- 21 - Special methods - string values
- 22 - Special methods - computed attributes
- 23 - Special methods - operations
- 24 - Special methods - comparisons
- 25 - Solution - Special Methods
5. Structural Pattern Matching
- 26 - Overview of pattern matching
- 27 - Simple patterns
- 28 - Capture patterns
- 29 - Class patterns
- 30 - Sequence patterns
- 31 - Pattern guards
- 32 - Solution - Patterns
Conclusion
- 33 - Next steps
Related courses
- Advanced Python (2018)
- Python Code Challenges for Object-Oriented Programming
- Python Scripting Using the ArcGIS API for Python
- Intermediate Python for Non-Programmers
- Python Data Structures: Power of Linked Lists for Technical Interviews
- Advanced Python: Object-Oriented Programming
- Python Object-Oriented Programming
- Python for Students