Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 456 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 456 Bytes

Json Database Generator

Python Script to Generate A Simple Database

Creates instance of the data handler class

handler = DataHandler()

Reads data from data.json file and prints it

handler.view_data()

Runs add_data() function to add data

handler.add_data(handler.data)

Runs view_data() function to read and print changes

handler.view_data()

Commits changes to data.json file

handler.write_data()