
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
این کتاب راهنمایی جامع برای یادگیری زبان برنامهنویسی پایتون است و تمامی مفاهیم و مباحث ضروری را که یک توسعهدهنده پایتون باید بداند، پوشش میدهد. این کتاب به گونهای نوشته شده است که برای خوانندگان در تمام سطحها قابل فهم باشد؛ چه تازه سفر خود را در دنیای برنامهنویسی آغاز کرده باشید و چه از قبل با پایتون آشنایی داشته باشید. حتی کاربران پیشرفتهتر نیز میتوانند از فصلهای پایانی کتاب بهره ببرند. این کتاب به چهار بخش تقسیم شده است. در بخش اول، با معرفی مبانی پایتون شروع میکنیم و با پوشش دادن موضوعاتی مانند انواع داده، عملگرها، کنترل جریان، توابع و کلاسها، پایهای محکم میسازیم. در بخش دوم، بر اساس پایه شکلگرفته در بخش اول جلو میرویم و عمیقتر وارد ویژگیهای پیشرفتهتر زبان پایتون میشویم. ما ویژگیهای پیشرفتهتر پایتون مانند مولدها، مدل شیء داده، فرامتاکلاسها و غیره را بررسی میکنیم، با این هدف مشخص که به شما کمک کنیم کدهای کارآمدتر و زیباتری بنویسید. در نهایت، به ماژولها و بستهبندی در پایتون میپردازیم تا ببینیم چگونه میتوان کد پایتون را به کتابخانههایی تبدیل کرد که قابل اشتراکگذاری با جامعه بزرگتر پایتون باشند. در بخش سوم، نگاهی دقیقتر به بخشهای «آماده به کار» کتابخانه استاندارد پایتون خواهیم داشت. اینها همان ماژولها و بستههایی هستند که در هر نصب پایتون وجود دارند و طیف وسیعی از قابلیتها را برای حل مشکلات گوناگون ارائه میدهند. ما بستههایی مانند functools، itertools، dataclasses و غیره را بررسی خواهیم کرد. و در نهایت در بخش چهارم، به سراغ سازوکارهای تحلیل کارایی و رفع اشکال در پایتون میرویم. علاوه بر این، هنگامی که نقاط ضعف خاصی را در پیادهسازی خود شناسایی کنیم، خواهیم دید که چگونه پروژههای خود را بازنویسی کنیم تا برای افزایش سرعت اجرای برنامه از کد بهینه C استفاده کنند. همچنین بررسی خواهیم کرد که چگونه از ابزارهای رفع اشکال C برای اجرای مفسر پایتون استفاده کنیم تا بتوانیم افزونههای C خود را عیبیابی کنیم.
This book aims to be a comprehensive guide to learning the Python Programming Language, covering all the essential concepts and topics that a python developer needs to know. This book has been written so to be accessible to readers of all levels, whether you're just starting your journery into programming, or already have some experience with python. Even more advanced users may find some utility from the later chapters.This book is divided into four parts.In Part I of this book, we start by introducing you to the basics of Python, building a foundation on the fundamentals as we cover topics such as data types, operators, control flow, functions, and classes.In Part II of this book, we build upon the foundation established in Part I and dive deeper into more advanced features of the Python programming language. We explore the more advanced features of Python, discussing topics such as generators, the data object model, metaclasses, etc, with the explicit aim to help you write more efficient and elegant code. And finally, we'll look into Python modules and packaging, so we can see how to take your python code and construct libraries which can be shared with the broader python community.In Part III of this book, we will take a closer look at some of the "batteries included" sections of the Python standard library. These are the modules and packages that are included with every Python installation and provide a wide range of functionality that can be used to solve a variety of problems. We'll explore packages like functools, itertools, dataclasses, etc.And finally in Part VI we'll dig into mechanisms for profiling and debugging python. Furthermore when we identify specific pain points in our implementation, we'll see how to refactor our projects to use performant C code for a boost in execution speed. We'll also look into how to use C debuggers to run the python interpreter, so we can debug our C extensions.