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.
Combines two lists into a dictionary, using the first one as the keys and the second one as the values.
Python, List · Nov 2, 2020
Creates a flat list of all the keys in a flat dictionary.
Python, Dictionary · Nov 2, 2020
Learn the difference between two common ways to access values in Python dictionaries and level up your code today.
Python, Dictionary · Jun 12, 2021
Returns a flat list of all the values in a flat dictionary.
Python, Dictionary · Nov 2, 2020
Finds the first key in the provided dictionary that has the given value.
Python, Dictionary · Nov 2, 2020