Python Forum
Writing to a .py file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing to a .py file
#4
Under option 4, write the Spanish and French dictionaries to the file named dictionary in whatever format they are stored, so the changes will be read the next time you import dictionary. You can also store these in a plain text file, one word and word translated to, as one record separated by a colon or whatever delimiter you want, and read the 2 files, storing them in a dictionary. https://www.idiotinside.com/2015/04/14/e...in-python/
Reply


Messages In This Thread
Writing to a .py file - by J0k3r - Apr-18-2018, 12:07 AM
RE: Writing to a .py file - by sparkz_alot - Apr-18-2018, 12:44 PM
RE: Writing to a .py file - by J0k3r - Apr-18-2018, 03:31 PM
RE: Writing to a .py file - by woooee - Apr-18-2018, 07:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  reading text file and writing to an output file precedded by line numbers kannan 7 10,595 Dec-11-2018, 02:19 PM
Last Post: ichabod801
  Writing incorrect passwords to a file till its correct garth 2 5,020 Feb-10-2017, 11:41 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020