First attempt at a python recipe.