楼主: cmwei333
960 7

[书籍介绍] Python Descriptors (2016) [推广有奖]

贵宾

泰斗

1%

还不是VIP/贵宾

-

TA的文库  其他...

【历史+心理学+社会自然科学】

【数学+统计+计算机编程】

【金融+经济+商学+国际政治】

威望
6
论坛币
3567375 个
通用积分
720.1587
学术水平
4324 点
热心指数
4647 点
信用等级
3954 点
经验
362316 点
帖子
9826
精华
9
在线时间
2842 小时
注册时间
2015-2-9
最后登录
2017-1-29

初级热心勋章 中级热心勋章 高级热心勋章 初级信用勋章 中级信用勋章 初级学术勋章 特级热心勋章 中级学术勋章 高级信用勋章 高级学术勋章 特级学术勋章 特级信用勋章

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Python Descriptors

Authors: Jacob Zimmerman

cover.jpg

A unique book dedicated to Python descriptors

Deals with important topic for the many applications Python has

Python is popular for web development, big data analytics, finance, game development and more

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

Table of contents (12 chapters)

Front Matter

About Descriptors
Front Matter
What Is a Descriptor?
The Descriptor Protocol
What Are Descriptors Good For?
Descriptors in the Standard Library
Attribute Access and Descriptors

Making Descriptors
Front Matter
Which Methods Are Needed?
Storing the Attributes
Read-Only Descriptors
Writing __delete__()
Descriptors are Classes Too
Reusing the Wheel
Other Uses of Descriptors in the World

Back Matter

下载地址:



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:script python scrip DESC scri collection important knowledge creating multiple

bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3257
bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3258
bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3259
沙发
ermutuxia 发表于 2016-12-8 16:56:46 |只看作者 |坛友微信交流群
Wonderful

使用道具

藤椅
小陆家嘴 发表于 2016-12-8 17:06:05 |只看作者 |坛友微信交流群
Python Descriptors

使用道具

板凳
ekscheng 发表于 2016-12-8 17:31:37 |只看作者 |坛友微信交流群

使用道具

报纸
云游天外 发表于 2016-12-11 21:57:30 |只看作者 |坛友微信交流群
感谢分享

使用道具

地板
xuruilong100 发表于 2016-12-13 22:22:59 |只看作者 |坛友微信交流群
人生苦短我用python

使用道具

7
zhw199107 发表于 2016-12-14 13:08:50 |只看作者 |坛友微信交流群
谢谢楼主分享!

使用道具

8
leon_9930754 发表于 2016-12-14 22:56:06 |只看作者 |坛友微信交流群
谢谢分享

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-25 09:11