import jsonfrom difflib import get_close_matches # function to add to JSONdef write_json(new_data, filename='words.txt'): with open(filename,'r+') as file: # First we load existing data into a dict. file_data = json.load(file) # Join new_dat3a with file_data file_data.update(new_data) # Sets file's current position at…
Chinmay Sonsurkar
updated on 05 Aug 2021
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Chinmay Sonsurkar (2)
Project 2 Library Book Management System
1.Main In [2]: # Importing the modules from tkinter import * from PIL import ImageTk,Image #PIL -> Pillow import pymysql from tkinter import messagebox from AddBook import * from DeleteBook import * from ViewBooks import * from IssueBook import * In [5]:…
06 Aug 2021 07:29 AM IST
Project 1 English Dictionary App
import jsonfrom difflib import get_close_matches # function to add to JSONdef write_json(new_data, filename='words.txt'): with open(filename,'r+') as file: # First we load existing data into a dict. file_data = json.load(file) # Join new_dat3a with file_data file_data.update(new_data) # Sets file's current position at…
05 Aug 2021 02:12 PM IST