ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Effective Python: 59 Specific Ways to Write Better Python

دانلود کتاب پایتون موثر: 59 روش خاص برای نوشتن پایتون بهتر

Effective Python: 59 Specific Ways to Write Better Python

مشخصات کتاب

Effective Python: 59 Specific Ways to Write Better Python

دسته بندی: برنامه نویسی: زبان های برنامه نویسی
ویرایش: 1 
نویسندگان:   
سری: Effective Software Development Series 
ISBN (شابک) : 0134034287, 9780134034287 
ناشر: Addison-Wesley Professional 
سال نشر: 2015 
تعداد صفحات: 683 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 12 مگابایت 

قیمت کتاب (تومان) : 31,000



کلمات کلیدی مربوط به کتاب پایتون موثر: 59 روش خاص برای نوشتن پایتون بهتر: پایتون، همزمانی، برنامه نویسی تابعی، برنامه نویسی موازی، برنامه نویسی شی گرا، سبک برنامه نویسی، فرابرنامه نویسی



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 18


در صورت تبدیل فایل کتاب Effective Python: 59 Specific Ways to Write Better Python به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب پایتون موثر: 59 روش خاص برای نوشتن پایتون بهتر نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب پایتون موثر: 59 روش خاص برای نوشتن پایتون بهتر

شروع نوشتن کد با پایتون آسان است: به همین دلیل است که این زبان بسیار محبوب است. با این حال، پایتون دارای نقاط قوت، جذابیت‌ها و بیانی منحصربه‌فردی است که درک آن‌ها در ابتدا دشوار است - و همچنین دام‌های پنهانی که اگر از آنها آگاه نباشید، به راحتی می‌توانند شما را غافلگیر کنند. پایتون موثر به شما کمک می کند تا از تمام قدرت پایتون برای نوشتن کدهای فوق العاده قوی، کارآمد، قابل نگهداری و با عملکرد خوب استفاده کنید. برت اسلاتکین با استفاده از سبک مختصر و سناریو محور پیشگام در پرفروش ترین ++C Effective اسکات میرز، 59 بهترین روش پایتون، نکات، میانبرها و نمونه کدهای واقعی را از برنامه نویسان خبره گرد هم می آورد. اسلاتکین از طریق مثال‌های واقع‌گرایانه، خصلت‌ها، پیچیدگی‌ها و اصطلاحات کمتر شناخته‌شده پایتون را کشف می‌کند که به شدت بر رفتار و عملکرد کد تأثیر می‌گذارد. شما یاد خواهید گرفت که چگونه کارآمدترین و مؤثرترین راه را برای انجام وظایف کلیدی در صورت وجود چندین گزینه انتخاب کنید، و چگونه کدی بنویسید که درک، نگهداری و بهبود آن آسان تر باشد. اسلاتکین با تکیه بر درک عمیق خود از قابلیت های پایتون، توصیه های عملی را برای هر حوزه اصلی توسعه با Python 3.x و Python 2.x ارائه می دهد. پوشش شامل: • الگوریتم ها • اشیاء • همزمانی • همکاری • ماژول های داخلی • تکنیک های تولید • و بیشتر هر بخش حاوی دستورالعمل‌های خاص و قابل اجرا است که در آیتم‌ها سازمان‌دهی شده‌اند، که هر کدام با توصیه‌های دقیق بیان‌شده با استدلال‌های فنی دقیق و مثال‌های روشن‌کننده پشتیبانی می‌شوند. با استفاده از Python موثر، می توانید به طور سیستماتیک تمام کدهای پایتونی را که می نویسید بهبود بخشید: نه با پیروی کورکورانه از قوانین یا تقلید از اصطلاحات نامفهوم، بلکه با به دست آوردن درک عمیق از دلایل فنی که چرا آنها منطقی هستند.


توضیحاتی درمورد کتاب به خارجی

It's easy to start writing code with Python: that's why the language is so immensely popular. However, Python has unique strengths, charms, and expressivity that can be hard to grasp at first -- as well as hidden pitfalls that can easily trip you up if you aren't aware of them. Effective Python will help you harness the full power of Python to write exceptionally robust, efficient, maintainable, and well-performing code. Utilizing the concise, scenario-driven style pioneered in Scott Meyers's best-selling Effective C++, Brett Slatkin brings together 59 Python best practices, tips, shortcuts, and realistic code examples from expert programmers. Through realistic examples, Slatkin uncovers little-known Python quirks, intricacies, and idioms that powerfully impact code behavior and performance. You'll learn how to choose the most efficient and effective way to accomplish key tasks when multiple options exist, and how to write code that's easier to understand, maintain, and improve. Drawing on his deep understanding of Python's capabilities, Slatkin offers practical advice for each major area of development with both Python 3.x and Python 2.x. Coverage includes: • Algorithms • Objects • Concurrency • Collaboration • Built-in modules • Production techniques • And more Each section contains specific, actionable guidelines organized into items, each with carefully worded advice supported by detailed technical arguments and illuminating examples. Using Effective Python, you can systematically improve all the Python code you write: not by blindly following rules or mimicking incomprehensible idioms, but by gaining a deep understanding of the technical reasons why they make sense.



فهرست مطالب

Preface xiii Acknowledgments xvii About the Author xix   Chapter 1: Pythonic Thinking 1 Item 1: Know Which Version of Python You\'re Using 1 Item 2: Follow the PEP 8 Style Guide 2 Item 3: Know the Differences Between bytes, str, and unicode 5 Item 4: Write Helper Functions Instead of Complex Expressions 8 Item 5: Know How to Slice Sequences 10 Item 6: Avoid Using start, end, and stride in a Single Slice 13 Item 7: Use List Comprehensions Instead of map and filter 15 Item 8: Avoid More Than Two Expressions in List Comprehensions 16 Item 9: Consider Generator Expressions for Large Comprehensions 18 Item 10: Prefer enumerate Over range 20 Item 11: Use zip to Process Iterators in Parallel 21 Item 12: Avoid else Blocks After for and while Loops 23 Item 13: Take Advantage of Each Block in try/except/else/finally 26   Chapter 2: Functions 29 Item 14: Prefer Exceptions to Returning None 29 Item 15: Know How Closures Interact with Variable Scope 31 Item 16: Consider Generators Instead of Returning Lists 36 Item 17: Be Defensive When Iterating Over Arguments 38 Item 18: Reduce Visual Noise with Variable Positional Arguments 43 Item 19: Provide Optional Behavior with Keyword Arguments 45 Item 20: Use None and Docstrings to Specify Dynamic Default Arguments 48 Item 21: Enforce Clarity with Keyword-Only Arguments 51   Chapter 3: Classes and Inheritance 55 Item 22: Prefer Helper Classes Over Bookkeeping with Dictionaries and Tuples 55 Item 23: Accept Functions for Simple Interfaces Instead of Classes 61 Item 24: Use @classmethod Polymorphism to Construct Objects Generically 64 Item 25: Initialize Parent Classes with super 69 Item 26: Use Multiple Inheritance Only for Mix-in Utility Classes 73 Item 27: Prefer Public Attributes Over Private Ones 78 Item 28: Inherit from collections.abc for Custom Container Types 83   Chapter 4: Metaclasses and Attributes 87 Item 29: Use Plain Attributes Instead of Get and Set Methods 87 Item 30: Consider @property Instead of Refactoring Attributes 91 Item 31: Use Descriptors for Reusable @property Methods 95 Item 32: Use __getattr__, __getattribute__, and __setattr__ for Lazy Attributes 100 Item 33: Validate Subclasses with Metaclasses 105 Item 34: Register Class Existence with Metaclasses 108 Item 35: Annotate Class Attributes with Metaclasses 112   Chapter 5: Concurrency and Parallelism 117 Item 36: Use subprocess to Manage Child Processes 118 Item 37: Use Threads for Blocking I/O, Avoid for Parallelism 122 Item 38: Use Lock to Prevent Data Races in Threads 126 Item 39: Use Queue to Coordinate Work Between Threads 129 Item 40: Consider Coroutines to Run Many Functions Concurrently 136 Item 41: Consider concurrent.futures for True Parallelism 145   Chapter 6: Built-in Modules 151 Item 42: Define Function Decorators with functools.wraps 151 Item 43: Consider contextlib and with Statements for Reusable try/finally Behavior 153 Item 44: Make pickle Reliable with copyreg 157 Item 45: Use datetime Instead of time for Local Clocks 162 Item 46: Use Built-in Algorithms and Data Structures 166 Item 47: Use decimal When Precision Is Paramount 171 Item 48: Know Where to Find Community-Built Modules 173   Chapter 7: Collaboration 175 Item 49: Write Docstrings for Every Function, Class, and Module 175 Item 50: Use Packages to Organize Modules and Provide Stable APIs 179 Item 51: Define a Root Exception to Insulate Callers from APIs 184 Item 52: Know How to Break Circular Dependencies 187 Item 53: Use Virtual Environments for Isolated and Reproducible Dependencies 192   Chapter 8: Production 199 Item 54: Consider Module-Scoped Code to Configure Deployment Environments 199 Item 55: Use repr Strings for Debugging Output 202 Item 56: Test Everything with unittest 204 Item 57: Consider Interactive Debugging with pdb 208 Item 58: Profile Before Optimizing 209 Item 59: Use tracemalloc to Understand Memory Usage and Leaks 214   Index 217




نظرات کاربران