A “shelf” is a persistent, dictionary-like object. in a shelf can be essentially arbitrary Python objects — anything that the pickle module can handle. Python Shelve Module From the Python 3 ...
Saving Variables with the shelve Module You can save variables in your Python programs to binary shelf files using the shelve module. This way, your program can restore data to variables from the hard ...