本站提供 8500 多本免费的 IT 技术电子书在线下载。
  1. 文章总数:8391
  2. 浏览总数:1,579,223
  3. 评论:0
  4. 分类目录:125 个
  5. 注册用户数:31
  6. 最后更新:2020年2月29日
过往记忆博客公共帐号iteblog_hadoop
欢迎关注微信公共帐号:
iteblog_hadoop

Python Descriptors

Python iteblog 144℃ 0评论
Python Descriptors
作者:
Jacob Zimmerman
ISBN-10:
148422504X
出版年份:
2017
页数:
64
语言:
English
文件大小:
1.25 MB
文件格式:
PDF

图书描述

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.

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.

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.

What you’ll learn:

What is a descriptor protocol
What is attribute access and how they apply to descriptors
How to make descriptors and why
Which Methods are needed
How to store attributes
How to do Read-Only Descriptors and Writing _delete()
How to explore the descriptor classes
How to apply the other uses of descriptors and more

Who is this book for:

This book is for experienced Python coders, programmers and developers.

点击进入下载

喜欢 (0)or分享 (0)
发表我的评论
取消评论

表情
本博客评论系统带有自动识别垃圾评论功能,请写一些有意义的评论,谢谢!