How to save all objects
# to save session
dill.dump_session('backup_2021_10_22.db')
# to load
backup_restore = dill.load_session('backup_2021_10_22.db')
# to save session
dill.dump_session('backup_2021_10_22.db')
# to load
backup_restore = dill.load_session('backup_2021_10_22.db')