##// 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:

r14009:6f019b30
r19299:cf989ee0
Show More
cluster.py
3 lines | 115 B | text/x-python | PythonLexer
if __name__ == '__main__':
from IPython.parallel.apps import ipclusterapp as app
app.launch_new_instance()