nbloader.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:nbloader 作者: post2web 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号