Python Descriptors, 2nd Edition

    Understanding and Using the Descriptor Protocol



    Bookstore > Books > Python Descriptors, 2nd Edition

    Price$31.55 - $44.02
    Rating
    AuthorJacob Zimmerman
    PublisherApress
    Published2018
    Pages97
    LanguageEnglish
    FormatPaper book / ebook (PDF)
    ISBN-101484237269
    ISBN-139781484237267
    EBook Hardcover Paperback

    Create descriptors and see ideas and examples of how to use descriptors effectively. In this short book, you'll explore descriptors in general, with a deep explanation of what descriptors are, how they work, and how they're used. Once you understand the simplicity of the descriptor protocol, the author delves into using and creating descriptors in practice, with plenty of tips, patterns, and real-world guidance. Because descriptors are inherently flexible, you'll work with multiple examples illustrating how to best take advantage of them.

    This second edition includes additions throughout, including new material covering the set_name_() descriptors, new and improved flowcharts to explain the inner workings of descriptors, and a completely new chapter to address instance-level attributes, the easiest way to create descriptors correctly the first time.

    Although brief, Python Descriptors is a comprehensive guide to creating Python descriptors, including a pip install-able library called descriptor_tools, which was written alongside this book and is an open source library on GitHub. After reading this book, you will have a solid understanding of how descriptors work and the techniques to avoid the big gotchas associated with working with them.

    Discover descriptor protocols; Master attribute access and how it applies to descriptors; Build your own descriptors; Use descriptors to store attributes; Create read-only descriptors; Explore the descriptor classes; Apply the other uses of descriptors.




    2 5 2

    Similar Books


    Python Cookbook, 2nd Edition

    Python Cookbook, 2nd Edition

    by Alex Martelli, Anna Ravenscroft, David Ascher

    Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. It is now being used by an increasing number of major organizations, including NASA and Google.Updated for Python 2.4, The Python Cookbook, 2nd Edition offers a wealt...

    Price:  $5.18  |  Publisher:  O'Reilly Media  |  Release:  2005

    Python Algorithms, 2nd Edition

    Python Algorithms, 2nd Edition

    by Magnus Lie Hetland

    Python Algorithms, 2nd Edition explains the Python approach to algorithm analysis and design. Written by Magnus Lie Hetland, author of Beginning Python, this book is sharply focused on classical algorithms, but it also gives a solid understanding of fundamental algorithmic problem-solving techniques.The book deals with some of the most im...

    Price:  $33.75  |  Publisher:  Apress  |  Release:  2014

    Beginning Python Games Development, 2nd Edition

    Beginning Python Games Development, 2nd Edition

    by Harrison Kinsley, Will McGugan

    Learn how to create compelling games using Python and the PyGame games development library. Beginning Python Games Development, 2nd Edition will teach you how to create visuals, do event handling, create 3D games, add media elements, and integrate OpenGL into your Python game.In this update to the first ever book to cover the popular open...

    Price:  $39.49  |  Publisher:  Apress  |  Release:  2015

    Programming in Python 3, 2nd Edition

    Programming in Python 3, 2nd Edition

    by Mark Summerfield

    It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3's features and idioms. Programming in Python 3, Second Edition, brings together all the knowledge you need to write any program, use any sta...

    Price:  $12.78  |  Publisher:  Addison-Wesley  |  Release:  2009

    Pro PHP Security, 2nd Edition

    Pro PHP Security, 2nd Edition

    by Chris Snyder, Thomas Myer, Michael Southwell

    PHP security, just like PHP itself, has advanced. Updated for PHP 5.3, the 2nd edition of this authoritative PHP security book covers foundational PHP security topics like SQL injection, XSS, user authentication, and secure PHP development. Chris Snyder and Tom Myer also delve into recent developments like mobile security, the impact of J...

    Price:  $39.99  |  Publisher:  Apress  |  Release:  2010

    Professional Ajax, 2nd Edition

    Professional Ajax, 2nd Edition

    by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett

    With Professional Ajax, 2nd Edition, as your guide, you'll discover how to break free of the "click and wait" standard and defy all the traditional rules of what can happen on the web. This book arms you with a developer-level understanding of Ajax techniques, patterns, and use cases so that you can create an unprec...

    Publisher:  Wrox  |  Release:  2007

    Expert Oracle Application Express, 2nd Edition

    Expert Oracle Application Express, 2nd Edition

    by Doug Gault, Tom Petrus, Denes Kubicek, Dan McGhan, Francis Mignault, Roel Hartman, Raj Mattamal, Jorge Rimblas, Martin D'Souza, Christoph Ruepprich, Dimitri Gielis, Nick Buytaert, Karen Cannell, John Scott, Sharon Kennedy

    Expert Oracle Application Express, 2nd Edition is newly updated for APEX 5.0 and brings deep insight from some of the best APEX practitioners in the field today. You'll learn about important features in APEX 5.0, and how those can be applied to make your development work easier and with greater impact on your business. Oracle Applica...

    Price:  $16.00  |  Publisher:  Apress  |  Release:  2015

    Linux and Solaris Recipes for Oracle DBAs, 2nd Edition

    Linux and Solaris Recipes for Oracle DBAs, 2nd Edition

    by Darl Kuhn, Charles Kim, Bernard Lopuz

    Linux and Solaris Recipes for Oracle DBAs, 2nd Edition is an example-based book on managing Oracle Database under Linux and Solaris. The book is written for database administrators who need to get work done and lack the luxury of curling up fireside with a stack of operating-system documentation. What this book provides instead is task-or...

    Price:  $42.49  |  Publisher:  Apress  |  Release:  2015