New course! Every coder should learn Generative AI!
Try a free lesson+ 4
Dunno about shelve, but pickle is alright if you don't want to care about the standard of your stored data and just want to have it easily stored and retreived locally.
Take a look at my example:
https://code.sololearn.com/cNXRdhIOg17U/?ref=app