parse a dict to list code example Example: convert string to list of dictionaries import ast ast.literal_eval(string_data)