In the command line, RUN: python book.py
You will be asked to create a new Database file, for example: sales
or you can select an existing one, for example: contacts
(the .json suffix is automatically added).
All new Database files will added to a ./db-files
directory and initialised using []
If you choose to create your own json file outside of the program it must be intialised with outer [] or include at least one set of correctly formatted data before running the program.
Format:
[
{
"info1": "test",
"info2": "one",
"info3": "two"
}
]
- close file