Code I developed when developing python