Python Classes & Inheritance: Advanced Functionality Using Python Classes

Python    |    Intermediate
  • 14 videos | 1h 28m 39s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 113 users Rating 4.5 of 113 users (113)
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

  • 1m 51s
  • 7m 42s
    In this video, you will learn how to represent objects using customized strings. FREE ACCESS
  • Locked
    3.  The add Special Method
    6m 6s
    Find out how to add custom objects. FREE ACCESS
  • Locked
    4.  The sub Special Method
    4m 43s
    In this video, learn how to perform subtraction operations on custom objects. FREE ACCESS
  • Locked
    5.  The mul Special Method
    6m 45s
    In this video, you will multiply custom objects. FREE ACCESS
  • Locked
    6.  Special Methods for Other Operations
    6m 26s
    Learn how to perform floor division, modulo, and power-of operations. FREE ACCESS
  • Locked
    7.  Built-in Functions and Custom Data Types
    5m 27s
    Learn how to allow built-in functions to work with custom data types. FREE ACCESS
  • Locked
    8.  Custom Iterators Using Special Methods
    9m 53s
    In this video, find out how to execute for-loops on custom data types. FREE ACCESS
  • Locked
    9.  Defining Properties on Classes
    7m 45s
    Learn how to define properties on classes for easy use. FREE ACCESS
  • Locked
    10.  Defining Properties Using Decorators
    7m 36s
    In this video, you will learn how to define properties using a simpler syntax. FREE ACCESS
  • Locked
    11.  Class Methods
    8m 36s
    During this video, you will learn how to work with class methods to access and update class state. FREE ACCESS
  • Locked
    12.  Static Methods
    2m 45s
    In this video, you will learn how to work with utility methods in classes. FREE ACCESS
  • Locked
    13.  Abstract Base Classes
    7m 56s
    How to define classes as abstract. FREE ACCESS
  • Locked
    14.  Exercise: Advanced Functionality in Classes
    5m 7s
    After completing this video, you will be able to list special methods and what they represent, define a class and create a property within it, and differentiate between class methods and static methods. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 226 users Rating 4.5 of 226 users (226)
Rating 4.3 of 151 users Rating 4.3 of 151 users (151)
Rating 4.3 of 343 users Rating 4.3 of 343 users (343)