![]() ![]() It’s actually quite simple - once we figure out the filename of the module, all it does is:Įxecute every cell in the Module namespace isfile ( nb_path ): return nb_path Notebook Loader isfile ( nb_path ): return nb_path # let import Notebook_Name find "Notebook Name.ipynb" nb_path = nb_path. rsplit ( '.', 1 ) if not path : path = for d in path : nb_path = os. Distributing Jupyter Extensions as Python Packagesĭef find_notebook ( fullname, path = None ): """find a notebook, given its fully qualified name and an optional path This turns "foo.bar" into "foo/bar.ipynb" and tries turning "Foo_Bar" into "Foo Bar" if Foo_Bar does not exist.Security in the Jupyter notebook server.Connecting to an existing IPython kernel using the Qt Console. ![]() Keyboard Shortcut Customization (Pre Notebook 5.0). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |