3 different ways to create a dictionary

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

3 ways to reverse a Python list

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

Deciphering David Beazley's monstrosity

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

Chunking iterables

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

bisect module

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

Simplifying equality comparisons with or

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