Fluent Python clear, concise, and effective programming
Don't waste time bending Python to fit patterns you've learned in other languages. Python's simplicity lets you become productive quickly, but often this means you aren't using everything the language has to offer. With the updated edition of this hands-on guide, you'll lear...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing : O'Reilly Media
2022.
|
Edición: | 2nd ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009657506306719 |
Tabla de Contenidos:
- 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
- II. Functions as objects
- 7. Functions as First-Class Objects
- 8. Type Hints in Functions
- 9. Decorators and Closures
- 10. Design Patterns with First-Class Functions
- III. Classes and protcols
- 11. A Pythonic Object
- 12. Special Methods for Sequences
- 13. Interfaces, Protocols, and ABCs
- 14. Inheritance: For Better or for Worse
- 15. More About Type Hints
- 16. Operator Overloading
- IV. Control flow
- 17. Iterators, Generators, and Classic Coroutines
- 18. with, match, and else Blocks
- 19. Concurrency Models in Python
- 20. Concurrent Executors
- 21. Asynchronous Programming
- V. Metaprogramming
- 22. Dynamic Attributes and Properties
- 23. Attribute Descriptors
- 24. Class Metaprogramming
- Afterword
- Index.