Don't waste time adapting Python to patterns you've learned in other languages. Python's simplicity makes you productive right away, but that often means you're not taking advantage of everything the language has to offer. You can learn how to write efficient, modern Python 3 code with
Who This Book Is For This book is written for the hands-on Python programmer who wants to learn Python 3. I tested the samples with Python 3.10 - most of them were also Python 3.9 and 3.8. If your example requires Python 3.10, you should clearly indicate this.
Completed with significant updates, this new edition includes 5 parts that act as 5 short books within a book. • Data Sequences, Dictations, Sentences, Unicode, and Data Classes • Functions as top-level functions, related design patterns, and type hints on function declarations • Object-oriented composition, inheritance, mixins, interfaces, operator overloading, protocols, and other static types. • Control context managers, generators, coroutines, async/await, and thread/process pools • Metaprogramming : New class metaprogramming hooks to replace or simplify properties, attribute descriptors, class decorators, and metaclasses.
This is junk. The text is low quality generated or copy/pasted prose from unnamed sources. The supposed author's name is a mashup of the names of two authors of bestselling Python books.