list of dicts from file to list

PHOTO EMBED

Sun Nov 06 2022 12:56:54 GMT+0000 (Coordinated Universal Time)

Saved by @quaie #python

f = open("final_list", 'r')
data = ast.literal_eval(f.read())
content_copyCOPY

load the list of dicts from the file

https://stackoverflow.com/questions/54166074/how-to-read-a-list-of-dicts-from-txt-file