does jupyter notebook save kernal state 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')