Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for some guidance #1

Open
mbalazs1 opened this issue Apr 13, 2022 · 1 comment
Open

Looking for some guidance #1

mbalazs1 opened this issue Apr 13, 2022 · 1 comment

Comments

@mbalazs1
Copy link

Would you be willing to reach out to me at navykidd02 @ yahoo. com. I am working on a version of your vending machine for a project that I needed a simulator for. I am having issues adding two functionalites, I need it to log a running subtotal in the json file. And I am trying to pretty print the json file into a more friendly readable file. I would appreciate your help if possible. Thank you for your time!
Respectfully,
Michael

@w1am
Copy link
Owner

w1am commented Apr 13, 2022

Hello, @mbalazs1. The repository is no longer maintained. However, in response to your query about logging the subtotal, I was using tinydb to store the product data, which are kept in a json file. I'm not sure if I get your meaning of logging, however when you click the buy button, you could write a method that writes the subtotal data to the file.

tinydb: https://tinydb.readthedocs.io/en/latest/api.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants