Python Snippets

The Python snippet collection contains helper functions for Python 3.6. It includes utilities for most common data types, such as primitivies, lists, dictionaries and date objects. In total 2 articles on this site. Use the search below to filter by title.

All Posts

Merge

Merges two or more lists into a list of lists, combining elements from each of the input lists based on their positions.

Collect dictionary

Inverts a dictionary with non-unique hashable values.