Skip to main content

What Are Descriptors Good For?

  • Chapter
  • First Online:
Python Descriptors
  • 3553 Accesses

Abstract

One of the most useful aspects of descriptors is their ability to encapsulate data so well. With descriptors, you have a simple way of accessing an attribute via attribute access notation (a.x) while allowing more complex actions to happen in the background.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 9.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Jacob Zimmerman

About this chapter

Cite this chapter

Zimmerman, J. (2016). What Are Descriptors Good For?. In: Python Descriptors. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2505-9_3

Download citation

Publish with us

Policies and ethics