Python Classes & Inheritance: Advanced Functionality Using Python Classes

Python 3.0+    |    Intermediate
  • 14 Videos | 1h 34m 39s
  • Includes Assessment
  • Earns a Badge
Likes 125 Likes 125
Examine the advanced features that you can implement by using classes in Python, such as special methods, iterators, class properties, and abstract base classes. Key concepts covered in this 14-video course include how to represent objects by using customized strings; performing addition operations on custom objects; and performing subtraction operations on custom objects. Next, observe how to perform multiplication operations on custom objects and perform floor division, modulo, and power-of operations. Then study learn built-in functions to work with custom data types; learn to execute for-loops on custom data types; and learn about properties on classes for intuitive use. Learn about properties using a simpler syntax; work with class methods to access and update class state; work with utility methods on classes; and learn how to use the abstract method to make classes that are not instantiable base classes. Finally, learners will be shown special methods and what they represent; learn to define a class and create a property within it; and observe how to differentiate between class methods and static methods.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    represent objects using customized strings
    perform addition operations on custom objects
    perform subtraction operations on custom objects
    perform multiplication operations on custom objects
    perform floor division, modulo, and power-of operations
    allow built-in functions to work with custom data types
  • execute for-loops on custom data types
    define properties on classes for intuitive use
    define properties using a simpler syntax
    work with class methods to access and update class state
    work with utility methods on classes
    define classes as abstract
    list special methods and what they represent, define a class and create a property within it, and differentiate between class methods and static methods

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 51s
    UP NEXT
  • Playable
    2. 
    The repr and str Special Methods
    7m 42s
  • Locked
    3. 
    The add Special Method
    6m 6s
  • Locked
    4. 
    The sub Special Method
    4m 43s
  • Locked
    5. 
    The mul Special Method
    6m 45s
  • Locked
    6. 
    Special Methods for Other Operations
    6m 26s
  • Locked
    7. 
    Built-in Functions and Custom Data Types
    5m 27s
  • Locked
    8. 
    Custom Iterators Using Special Methods
    9m 53s
  • Locked
    9. 
    Defining Properties on Classes
    7m 45s
  • Locked
    10. 
    Defining Properties Using Decorators
    7m 36s
  • Locked
    11. 
    Class Methods
    8m 36s
  • Locked
    12. 
    Static Methods
    2m 45s
  • Locked
    13. 
    Abstract Base Classes
    7m 56s
  • Locked
    14. 
    Exercise: Advanced Functionality in Classes
    5m 7s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 121 Likes 121  
COURSE