python write list of dictionaries to text file code example
Example: save list of dictionaries to json python
import json
with open('outputfile', 'w') as fout:
json.dump(your_list_of_dict, fout)
import json
with open('outputfile', 'w') as fout:
json.dump(your_list_of_dict, fout)