دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Jacob Zimmerman
سری:
ISBN (شابک) : 9781484237274
ناشر: Apress
سال نشر: 2018
تعداد صفحات: 97
زبان: english
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 913 کیلوبایت
در صورت تبدیل فایل کتاب Python Descriptors. Understanding and Using the Descriptor Protocol [2nd ed.] به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب توصیفگرهای پایتون درک و استفاده از پروتکل توصیفگر [ویرایش دوم] نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
Contents......Page 3
Intro......Page 7
--- Descriptors......Page 9
What is Descriptor......Page 10
The Use of Descriptors by Python......Page 11
Summary......Page 12
The __get__(self, instance, owner) Method......Page 13
The __set__(self, instance, value) Method......Page 14
The __delete__(self, instance) Method......Page 15
Summary......Page 16
Pros of Python Descriptors......Page 17
Cons of Python Descriptors......Page 19
Summary......Page 20
Descriptors in Standard Library......Page 21
The property Class......Page 22
The classmethod Descriptor......Page 24
Regular Methods......Page 25
Summary......Page 26
Attribute Access & Descriptors......Page 27
Instance Access......Page 28
Set and Delete Calls......Page 33
Summary......Page 34
--- Making Descriptors......Page 35
Which Methods are needed......Page 36
When __get__() Is Called Without an instance Argument......Page 37
Summary......Page 42
Class-Level Storage......Page 43
Storing Data on the Descriptor......Page 44
Indirectly Asking for the Location......Page 54
Summary......Page 61
Read-only Descriptors......Page 62
Set-Once Descriptors......Page 63
Secret-Set Descriptors......Page 64
Forced-Set Descriptors......Page 65
Class Constants......Page 66
Summary......Page 68
Writing__delete__()......Page 69
Summary......Page 70
Inheritance......Page 71
Descriptors on Descriptors......Page 72
Passing an Instance Around......Page 73
Summary......Page 74
Storage Solutions......Page 75
Read-Only Solutions......Page 78
Simple Unbound Attributes......Page 80
Summary......Page 82
Properties in Other Languages......Page 83
Back to Python......Page 84
Example......Page 89
Go Nuts......Page 90
SQLAlchemy......Page 91
Elk......Page 92
Summary......Page 93
Biblio......Page 94
Index......Page 95