My new ebook “Comprehending Comprehensions” is on pre-sale and 40% off!

Twitter threads

Twitter threads unrolled.

This short article teaches you 3 ways of creating a Python dictionary.

This short article teaches you 3 ways of reversing a Python list.

This short article explains a monstrous piece of code that David Beazley wrote.

This short article shows how to chunk iterables into pieces of a fixed length.

This short article shows how to use the module bisect from the Python standard library.

In this short article I describe how to simplify equality comparisons chained with the operator or.