Сохранить сеанс Notebook Jupyter
# Install dill if you have not
import dill
dill.dump_session('env_name.db')
Talented Toucan
# Install dill if you have not
import dill
dill.dump_session('env_name.db')