def __init__(self, nb_path, ns=None):
self.nb_path = nb_path
if ns is None:
self.ns = dict()
else:
self.ns = ns
if 'get_ipython' not in self.ns:
# not sure if thats really needed
self.ns['get_ipython'] = get_ipython
self.shell = InteractiveShell.instance()
self.refresh()
self.run_tag('__init__', strict=False)
评论列表
文章目录