Python tips #1 . If you ever wanted to modify a dictionary to do something if a key doesn't exist, the __missing__ magic method of a class has you covered. This will create an array if you access a missing key in the dictionary. #Python #Pythontips