Fork me on GitHub

Project Notes

#485 Fluent Python

Book Notes - Fluent Python: Clear, Concise, and Effective Programming by Luciano Ramalho. First published January 25, 2015.

Notes

cover

Contents

  • I. Prologue
    • 1 The Python Data Model
  • II. Data Structures
    • 2 An Array of Sequences
    • 3 Dictionaries and Sets
    • 4 Text versus Bytes
  • III. Functions as Objects
    • 5 First-Class Functions
    • 6 Design Patterns with First-Class Functions
    • 7 Function Decorators and Closures
  • IV. Object-Oriented Idioms
    • 8 Object References, Mutability, and Recycling
    • 9 A Pythonic Object
    • 10 Sequence Hacking, Hashing, and Slicing
    • 11 Interfaces: From Protocols to ABCs
    • 12 Inheritance: For Good or For Worse
    • 13 Operator Overloading: Doing It Right
  • V. Control Flow
    • 14 Iterables, Iterators, and Generators
    • 15 Context Managers and else Blocks
    • 16 Coroutines
    • 17 Concurrency with Futures
    • 18 Concurrency with asyncio
  • VI. Metaprogramming
    • 19 Dynamic Attributes and Properties
    • 20 Attribute Descriptors
    • 21 Class Metaprogramming
  • Afterword
  • A. Support Scripts
  • Python Jargon

Getting the Example Source

git clone https://github.com/fluentpython/example-code example_source_v1
git clone https://github.com/fluentpython/example-code-2e example_source_v2

Credits and References

About LCK#485
pythonBooks

This page is a web-friendly rendering of my project notes shared in the LittleCodingKata GitHub repository.

Project Source on GitHub Return to the LittleCodingKata Catalog
About LittleCodingKata

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.

Follow the Blog follow projects and notes as they are published in your favourite feed reader