Fluent Python : Clear, Concise, and Effective Programming.
Publisher: Beijing, China ; Boston, MA : O'Reilly, 2022Edition: Second editionDescription: xxviii, 983 pages : illustrations ; 23 cmContent type:- text
- unmediated
- volume
- 9781492056355
- 1492056359
- 005.133 23
- QA76.73.P98 R36 2022
Item type | Current library | Call number | Copy number | Status | Date due | Barcode | Item holds | |
---|---|---|---|---|---|---|---|---|
BOOK | NCAR Library Foothills Lab | QA76.73 .P98 .R36 2022 | 1 | Available | 50583020015487 |
"2nd edition covers Python 3.10"--Cover.
Includes bibliographical references and index.
Part I: Data structures -- 1. The Python data model -- 2. An array of sequences -- 3. Dictionaries and sets -- 4. Unicode text versus bytes -- 5. Data class builders -- 6. Object references, mutability, and recycling -- Part II: Functions as objects -- 7. Functions as first-class objects -- 8. Types hints in functions -- 9. Decorators and closures -- 10. Design patterns with first-class functions -- Part III: Classes and protocols -- 11. A Pythonic object -- 12. Special methods for sequences -- 13. Interfaces, protocols, and ABCs -- 14. Inheritance: for better of for worse -- 15. More about type hints -- 16. Operator overloading -- Part IV: Control flow -- 17. Iterators, generators, and classis corouitnes -- 18. with, match, and else blocks -- 19. Concurrency models in Python -- 20. Concurrent executors -- 21. Asynchronous programming -- Part V: Metaprogramming -- 22. Dynamic attributes and properties -- 23. Attribute descriptors -- 24. Class metaprogramming.
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. 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.