توضیحات
Create descriptors and see ideas and examples of how to use descriptors effectively. In this short book, you’ll explore descriptors in general, with a deep explanation of what descriptors are, how they work, and how they’re used. Once you understand the simplicity of the descriptor protocol, the author delves into using and creating descriptors in practice, with plenty of tips, patterns, and real-world guidance. Because descriptors are inherently flexible, you’ll work with multiple examples illustrating how to best take advantage of them.
This second edition includes additions throughout, including new material covering the set_name_() descriptors, new and improved flowcharts to explain the inner workings of descriptors, and a completely new chapter to address instance-level attributes, the easiest way to create descriptors correctly the first time.
Although brief, Python Descriptors is a comprehensive guide to creating Python descriptors, including a pip install-able library called descriptor_tools, which was written alongside this book and is an open source library on GitHub. After reading this book, you will have a solid 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
Build your own descriptors
Use descriptors to store attributes
Create read-only descriptors
Explore the descriptor classes
Apply the other uses of descriptors
Who This Book Is For
Experienced Python coders, programmers, and developers.
————————————————————–
ترجمه ماشینی :
توصیفگرها را ایجاد کنید و ایدهها و نمونههایی از نحوه استفاده مؤثر از توصیفگرها را ببینید. در این کتاب کوتاه، توصیفگرها را به طور کلی با توضیحی عمیق در مورد اینکه توصیفگرها چیست، چگونه کار میکنند و چگونه استفاده میشوند، بررسی خواهید کرد. هنگامی که سادگی پروتکل توصیفگر را درک کردید، نویسنده با نکات، الگوها و راهنمایی های دنیای واقعی، به استفاده و ایجاد توصیفگرها در عمل می پردازد. از آنجایی که توصیفگرها ذاتاً منعطف هستند، شما با مثالهای متعددی کار خواهید کرد که نشان میدهد چگونه میتوانید از آنها به بهترین شکل استفاده کنید.
این ویرایش دوم شامل موارد اضافهشده در سراسر آن است، از جمله مطالب جدیدی که توصیفگرهای set_name_() را پوشش میدهد، فلوچارتهای جدید و بهبودیافته برای توضیح درونی عملکرد توصیفگرها و یک فصل کاملاً جدید برای پرداختن به ویژگیهای سطح نمونه، سادهترین راه برای ایجاد صحیح توصیفگرها در اولین بار.
اگرچه مختصر است، Python Descriptors یک راهنمای جامع برای ایجاد توصیفگرهای Python، از جمله یک کتابخانه قابل نصب pip به نام descriptor_tools است که در کنار این کتاب نوشته شده است و یک کتابخانه منبع باز در GitHub است. پس از خواندن این کتاب، درک کاملی از نحوه کار توصیفگرها و تکنیک هایی برای جلوگیری از مشکلات بزرگ مرتبط با کار با آنها خواهید داشت.
آنچه خواهید آموخت
پروتکل های توصیف کننده را کشف کنید
/p>
دسترسی به ویژگی اصلی و نحوه اعمال آن در توصیفگرها
توصیفگرهای خود را بسازید
از توصیفگرها برای ذخیره ویژگی ها استفاده کنید
ایجاد توصیفگرهای فقط خواندنی
کاوش در کلاسهای توصیفگر
استفاده از سایر کاربردهای توصیفگرها
این کتاب برای چه کسی است br> برنامه نویسان، برنامه نویسان و برنامه نویسان با تجربه Python.
tag : دانلود کتاب توصیفگرهای پایتون: درک و استفاده از پروتکل توصیفگر , Download توصیفگرهای پایتون: درک و استفاده از پروتکل توصیفگر , دانلود توصیفگرهای پایتون: درک و استفاده از پروتکل توصیفگر , Download Python Descriptors: Understanding and Using the Descriptor Protocol Book , توصیفگرهای پایتون: درک و استفاده از پروتکل توصیفگر دانلود , buy توصیفگرهای پایتون: درک و استفاده از پروتکل توصیفگر , خرید کتاب توصیفگرهای پایتون: درک و استفاده از پروتکل توصیفگر , دانلود کتاب Python Descriptors: Understanding and Using the Descriptor Protocol , کتاب Python Descriptors: Understanding and Using the Descriptor Protocol , دانلود Python Descriptors: Understanding and Using the Descriptor Protocol , خرید Python Descriptors: Understanding and Using the Descriptor Protocol , خرید کتاب Python Descriptors: Understanding and Using the Descriptor Protocol ,

نقد و بررسیها
هنوز بررسیای ثبت نشده است.