Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Core Python 3: Custom Attributes and Descriptors

Python has a dynamism which can give our objects superpowers. This course will teach you how to implement highly flexible interfaces with where the attributes of objects are determined on-the-fly, rather than being determined in advance by classes.

Advanced
1h 28m
(28)

Created by Austin Bingham and Robert Smallshire

Last Updated Jul 15, 2022

Course Thumbnail
  • Course

Core Python 3: Custom Attributes and Descriptors

Python has a dynamism which can give our objects superpowers. This course will teach you how to implement highly flexible interfaces with where the attributes of objects are determined on-the-fly, rather than being determined in advance by classes.

Advanced
1h 28m
(28)

Created by Austin Bingham and Robert Smallshire

Last Updated Jul 15, 2022

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

When classes are too rigid, but dictionaries too flexible, you can often find a good trade-off with dynamic objects. In this course, Core Python 3: Custom Attributes and Descriptors, you’ll learn to make objects with highly dynamic interfaces. First, you’ll explore how objects are internally represented in Python. Next, you’ll discover how to customize object attribute access. Finally, you’ll learn how to define your own descriptors, which form the basis of much of how Python attributes work. When you’re finished with this course, you’ll have the skills and knowledge of Python object customization needed to produce flexible and expressive code.

Core Python 3: Custom Attributes and Descriptors
Advanced
1h 28m
(28)
Table of contents

About the author
Austin Bingham - Pluralsight course - Core Python 3: Custom Attributes and Descriptors
Austin Bingham
16 courses 4.2 author rating 7116 ratings

Austin is a founding director of Sixty North, a software consulting, training, and application development company. He's a native of Texas but currently lives in Norway where he writes software, runs a local software interest group, and presents and teaches whenever he can.

About the author
Robert Smallshire - Pluralsight course - Core Python 3: Custom Attributes and Descriptors
Robert Smallshire
16 courses 4.2 author rating 7252 ratings

Robert Smallshire is a founding director of Sixty North, a software product and consulting business in based in Norway. He has held several senior software architecture and technical management roles, and he is a regular conference speaker. Python is his weapon of choice.

Get started with Pluralsight