Relative Content

Tag Archive for pythonjsonoop

Cant get method to update json file in python

I am making a program to keep track of my barbell lifts. everything is working fine except I want the user.appendLifts() function to update the value of whichever key is being updated in liftsDict. I go through the process by starting the program, then i hit 1 to update lift, then 1 again to update my bench, and when i enter my new bench it takes me back to the previous loop but doesnt update the json file