About 34 results
Open links in new tab
  1. Fluent Python, the lizard book

    Fluent Python, Second Edition Companion website for the lizard book including: Extra content: new or updated sections that did not fit in the Second Edition. Python lingo: technical terms and slang used …

  2. Internals of sets and dicts | Fluent Python, the lizard book

    Python’s dict and set are built on top of hash tables. This post explains how the use of hash tables results in the strengths and limitations of those container types.

  3. Classic Coroutines | Fluent Python, the lizard book

    After PEP 380 there have been no major changes to classic coroutines. PEP 492 introduced native coroutines, but that’s a story for [async_ch]. Let’s follow the established tradition of Fluent Python …

  4. About fluentpython.com | Fluent Python, the lizard book

    FluentPython.com complements Fluent Python, Second Edition with extra content. Unless otherwise noted, the content of this site was written by me, Luciano Ramalho, the author of Fluent Python. The …

  5. Python Lingo | Fluent Python, the lizard book

    An alternative implementation of the Python programming language using a toolchain that compiles a subset of Python to machine code, so the interpreter source code is actually written in Python.

  6. Extras | Fluent Python, the lizard book

    ExtrasExtras Managing Ordered Sequences with Bisect Internals of sets and dicts Building Multi-Character Emojis Parsing binary records with struct Weak References Introspection of Function …

  7. Introspection of Function Parameters - Fluent Python

    This example shows how the Python Data Model, with the help of inspect, exposes the same machinery the interpreter uses to bind arguments to formal parameters in function calls.

  8. Parsing binary records with struct - Fluent Python

    The struct module provides functions to parse fields of bytes into a tuple of Python objects, and to perform the opposite conversion, from a tuple into packed bytes. struct can be used with bytes, …

  9. Building Multi-Character Emojis | Fluent Python, the lizard book

    Figure 4. Making the rainbow flag in the Python console. Unicode 13 supports more than 1100 ZWJ emoji sequences as RGI—"recommended for general interchange [… ] intended to be widely …

  10. A Beautiful Piece of Code: lis.py | Fluent Python, the lizard book

    Lispy is Peter Norvig’s subset of Scheme written in Python. Learning how Lisp works is a sound investment of your time because it makes some fundamentals of Computer Science more visible and …