Save the dictionary to txt file and restore in python Feel free to store some information in dictionary D1 and print The printed result is: {'123123': ['Zhang San', 'Li Si', ...
DOWNLOAD: https://tinurli.com/2exqtz
DOWNLOAD: https://tinurli.com/2exqtz
read-dictionary-from-file-python
Aug 15, 2020 — import ast with open("/path/to/file", "r") as data: dictionary = ast.literal_eval(data.read()) 3925e8d270
Comments