save kernel jupyter notebook code example
Example: save jupyter notebook session
# Install dill if you have not
import dill
dill.dump_session('env_name.db')
# Install dill if you have not
import dill
dill.dump_session('env_name.db')