A printable Python reference built as tables you can scan fast. It covers data types, operators, strings, slicing, comprehensions and generators, classes and dunder methods, exceptions, files, decorators, context managers, async/await, type hints, regex,...
More
A printable Python reference built as tables you can scan fast. It covers data types, operators, strings, slicing, comprehensions and generators, classes and dunder methods, exceptions, files, decorators, context managers, async/await, type hints, regex, dataclasses, collections, itertools, logging and packaging.
Each row pairs a concept with a short code example and a plain description, including the traps that catch people out (like bool being an int).
26 tables, 362 entries, and every page links back to the online version.
Free to read online, with the rest of the library: https://www.cheatgrid.com/programming-languages/0004-python-cheat-sheet
Less