|
This short book on Python descriptors is a collection of knowledge and ideas from many sources on dealing with and creating descriptors. And, after going through the things all descriptors have in common, the author explores ideas that have multiple ways of being implemented as well as completely new ideas never seen elsewhere before.
This truly is a comprehensive guide to creating Python descriptors. As a bonus: A pip install-able library, descriptor_tools, was written alongside this book and is an open source library on GitHub.
There aren't many good resources out there for writing Python descriptors, and extremely few books. This is a sad state of affairs, as it makes it difficult for Python developers to get a really good understanding of how descriptors work and the techniques to avoid the big gotchas associated with working with them.
What You Will Learn
-
Discover descriptor protocols
-
Master attribute access and how it applies to descriptors
-
Make descriptors and discover why you should
-
Store attributes
-
Create read-only descriptors and _delete()
-
Explore the descriptor classes
-
Apply the other uses of descriptors and more
Who This Book Is For
Experienced Python coders, programmers and developers.
|
|
|
Easy Microsoft Windows 7SEE IT DONE. DO IT YOURSELF.
It’s that Easy! Easy Microsoft Windows 7 teaches you the fundamentals of working with Microsoft’s latest operating system. Fully illustrated steps with simple instructions guide you through every... | | Beginning PHP5, Apache, and MySQL Web Development (Programmer to Programmer)PHP, Apache, and MySQL are the three key open source technologies that form the basis for most active Web servers. This new edition guides you through the entire process of setting up your own site and walks you through every step, from the installation of PHP, Apache, and MySQL to database management, security, and integration with other... | | The CSS Anthology: 101 Essential Tips, Tricks & HacksA practical guide on CSS (Cascading Style Sheets) for professionals and novices, that can be used both as a tutorial and read cover-to-cover or as a handy and practical reference book to common problems, solutions and effects. The Question and Answer format makes it easy for readers to solve their problems and learn more about common pitfalls... |
|