Gå direkte til innholdet
Python Descriptors
Python Descriptors
Spar

Python Descriptors

Forfatter:
Engelsk
Les i Adobe DRM-kompatibelt e-bokleserDenne e-boka er kopibeskyttet med Adobe DRM som påvirker hvor du kan lese den. Les mer
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 workingwith them.What You Will LearnDiscover descriptor protocolsMaster attribute access and how it applies to descriptorsMake descriptors and discover why you shouldStore attributesCreate read-only descriptors and _delete()Explore the descriptor classesApply the other uses of descriptors and moreWho This Book Is ForExperienced Python coders, programmers and developers.
ISBN
9781484225059
Språk
Engelsk
Utgivelsesdato
7.12.2016
Forlag
APRESS
Tilgjengelige elektroniske format
  • PDF - Adobe DRM
Les e-boka her
  • E-bokleser i mobil/nettbrett
  • Lesebrett
  • Datamaskin