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/
Writing to a .py file
Writing to a .py file
|
|
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 |
Users browsing this thread: 1 Guest(s)