def run_notebook(filename):
    export = Exporter()
    execute = ExecutePreprocessor()
    execute.timeout = 600
    export.register_preprocessor(execute, True)
    export.from_filename(filename)
Esempio n. 2
0
def run_notebook(filename):
    export = Exporter()
    execute = ExecutePreprocessor()
    execute.timeout = 600
    export.register_preprocessor(execute, True)
    export.from_filename(filename)