Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Advanced Python: Classes and Functions

via LinkedIn Learning

Overview

Learn about the more advanced features of the Python language.

Syllabus

Introduction
  • Introduction
  • Getting set up
1. Language Features
  • Python coding style
  • Understanding strings vs. bytes
  • The assignment expression
  • Boolean types and values
  • Template strings
2. Advanced Functions
  • Documentation strings
  • Variable argument lists
  • Lambda functions
  • Keyword-only arguments
  • Challenge: Advanced functions
  • Solution: Advanced functions
3. Python Comprehensions
  • Introduction to comprehensions
  • List comprehensions
  • Dictionary comprehensions
  • Set comprehensions
  • Challenge: Comprehensions
  • Solution: Comprehensions
4. Classes and Objects
  • 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
5. Structural Pattern Matching
  • Overview of pattern matching
  • Simple patterns
  • Capture patterns
  • Class patterns
  • Sequence patterns
  • Pattern guards
  • Challenge: Patterns
  • Solution: Patterns
Conclusion
  • Next steps

Taught by

Joe Marini

Reviews

4.8 rating at LinkedIn Learning based on 255 ratings

Start your review of Advanced Python: Classes and Functions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.