##// END OF EJS Templates
add pre/post-save hooks...
add pre/post-save hooks - `ContentsManager.pre_save_hook` runs on the path and model with content - `FileContentsManager.post_save_hook` runs on the filesystem path and model without content - use pre_save_hook for things like stripping output - use post_save_hook for things like nbconvert --to python

File last commit:

r13347:54891794
r19299:cf989ee0
Show More
__init__.py
5 lines | 98 B | text/x-python | PythonLexer
try:
import pexpect
from pexpect import *
except ImportError:
from ._pexpect import *