پایتون آسان
دسته: برنامه نویسی، پایتونبا استفاده از این راهنمای کاربردی، روش مؤثر نوشتن کد پایتون را توسط بهرهگیری از بهترین ویژگیها و موارد نادیده گرفتهشده این زبان خواهید آموخت. Luciano Ramalho، نویسنده این کتاب، شما را از طریق کتابخانهها و ویژگیهای هسته زبان پایتون هدایت کرده و نحوه ایجاد کدهای کوتاهتر، سریعتر و خواناتر را بهطور همزمان نشان میدهد. بسیاری از برنامهنویسان باتجربه سعی میکنند تا پایتون را به تناسب الگوهایی که توسط زبانهای دیگر آموختهاند همسو کنند و هرگز ویژگیهای پایتون را خارج از تجربه خود نمییابند. همراه با این کتاب برنامهنویسان پایتون نحوه تسلط بر پایتون 3 را بهطور کامل خواهند آموخت.
سال انتشار: 2015 | 751 صفحه | حجم فایل: 18 مگابایت | زبان: انگلیسی
نویسنده
Luciano Ramalho
ناشر
O’Reilly Media
ISBN10:
1491946008
ISBN13:
9781491946008
قیمت: 16000 تومان
برچسبها: پایتون
Python’s simplicity lets you become productive quickly, but this often means you aren’t using everything it has to offer. With this hands-on guide, you’ll learn how to write effective, idiomatic Python code by leveraging its best—and possibly most neglected—features. Author Luciano Ramalho takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time.
Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3.
This book covers:
Python data model: understand how special methods are the key to the consistent behavior of objects
Data structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode age
Functions as objects: view Python functions as first-class objects, and understand how this affects popular design patterns
Object-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritance
Control flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packages
Metaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work