top of page

Read-dictionary-from-file-python

geipracarisnel
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', ...












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





1 view0 comments

Recent Posts

See All

Comentários


500 Terry Francois Street

San Francisco, CA 94158

info@mysite.com

 

Tel: 123-456-7890

Mon - Fri: 7am - 10pm

​​Saturday: 8am - 10pm

​Sunday: 8am - 11pm

© 2023 by Maggie Louise. Proudly created with Wix.com

  • Black Facebook Icon
  • Black Google+ Icon

Success! Message received.

bottom of page