Intermediate Python
معرفی کتاب «Intermediate Python» نوشتهٔ Obi Ike-Nwosu، منتشرشده توسط نشر leanpub.com در سال 2015. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Intermediate Python» در دستهٔ بدون دستهبندی قرار دارد.
The python ecosystem is awash with books for beginners but after that, what next? The book aims to bridge the gap between beginning level python and intermediate level python. This book dives into topics such as python object system, functions, decorators, metaprogramming and generators providing the reader with an in-depth knowledge of these topics that is essential for writing idiomatic and robust python code. It aims to provide a reader with not only a how to but also a why about python concepts. If you are looking for a book to take you beyond the beginner level in python, this is definitely the right book for you. Table of Contents Acknowledgements An Introduction The Evolution of Python Python 2 vs Python 3 The Python Programming Language A Very Short Tutorial Using Python Python Statements, Line Structure and Indentation Strings Flow Control Functions Data Structures Classes Modules Exceptions Input and Output Getting Help Intermezzo: Glossary Names and Binding Code Blocks Name-spaces Scopes eval() exec() Objects 201 Strong and Weak Object References The Type Hierarchy None Type NotImplemented Type Ellipsis Type Numeric Type Sequence Type Set Mapping Callable Types Custom Type Module Type File/IO Types Built-in Types Object Oriented Programming The Mechanics of Class Definitions Class Objects Instance Objects Method Objects Customizing User-defined Types Special methods for Type Emulation Special Methods for comparing objects Special Methods and Attributes for Miscellaneous Customizations A Vector class Inheritance The super keyword Multiple Inheritance Static and Class Methods Static Methods Class Methods Descriptors and Properties Enter Python Descriptors Class Properties Abstract Base Classes The Function Function Definitions Functions are Objects Functions are descriptors Calling Functions Unpacking Function Argument * and ** Function Parameters Nested functions and Closures A Byte of Functional Programming The Basics Comprehensions Functools Sequences and Functional Programming Iterators and Generators Iterators The Itertools Module Generators Generator Functions Generator Expressions The Beauty of Generators and Iterators From Generators To Coroutines Simulating Multitasking with Coroutines The yield from keyword A Game of Life MetaProgramming and Co. Decorators Function Decorators Decorators in Python Passing Arguments To Decorated Functions Decorator Functions with Arguments Functools.wrap Class Decorators Decorator Recipes Metaclasses Metaclasses in Action Overriding __new__ vs __init__ in Custom Metaclasses Context Managers The Contextlib module Modules And Packages Modules Reloading Modules How are Modules found? Packages Regular Packages Namespace Packages The Import System The Import Search Process Why You Probably Should Not Reload Modules... Distributing Python Programs Inspecting Objects Handling source code Inspecting Classes and Functions Interacting with Interpreter Stacks The Zen of Python ...
دانلود کتاب Intermediate Python