To run the program, you must have the database saved in the csv file, and it must be specified properly. The program can be run with or without a csv argument for input. If you are using a csv input arg, you will need to run the program like "python life-generator.py input.csv"
Additional Detail: • Required format for input.csv (with header): input_item_type,input_item_category,input_number_to_generate • input_item_type = toys An output on the GUI should populate, and a CSV of the output will be saved in the local directory.
To run the program normally, simply run the file "python life-generator.py" and you will be prompted with a GUI Follow the instruction on the GUI and submit your input. An output on the GUI should populate, and a CSV of the output will be saved in the local directory.
####### UPDATED FOR GROUP ASSSIGNMENT ########
The program can now run alongside the person-generator.py saved within the same directory. The program can check to see if there is a file saved in the directory (request.csv) which is generated by the user of the person-genarator program. If the person-generator program has issued a request, the program will output the results of the toy query from the request.csv and then display an updated GUI. The program will also save a response.csv file for the person-generator to consume.