2020 Code in Place Final Project - Cookbook

by Sandy T


My code opens an old text file (a family cookbook) and parses the text into recipes, printing each line to the screen with a label of title, cook, ingredient, or step. Each recipe is stored in a dictionary, and all of the dictionaries are stored in a list. The code uses the list of dictionaries to generate a PDF of the recipes with some formatting to make it more readable.