Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Links between IPython notebooks

Tags:

python

ipython

Is it possible to link one IPython notebook to another with a hyperlink in a Markdown cell? If I try

Link to [Notebook 2](files/notebook2.ipynb) 

or

Link to <a href="files/notebook2.ipynb">Notebook 2</a> 

A new tab is opened with raw unformatted contents of the ipynb file. Is there a way to get IPython to open another notebook for use in a new tab via a hyperlink?

like image 737
Mike Avatar asked Sep 25 '12 20:09

Mike


People also ask

How do you link two Jupyter notebooks?

Running a Jupyter Notebook from Another Jupyter NotebookFrom the left Sidebar, select and right-click on the Jupyter notebook that has to be run from another notebook. From the context menu, select Copy Path. Open the Jupyter notebook from which you want to run another notebook. Click Run.

How do I reference another cell in Jupyter Notebook?

Just add the anchor to the Markdown cell you want to refer to, and link to it using standard Markdown syntax. and the reference can be like: For more details, see [Section 1](#section_1).

How do you make internal links in Jupyter Notebook?

Internal and external links:You can define internal links in markdown by using [title](#division_ID) , where id is linked to a section of the notebook. You can also define an internal link by using <a> tag, where the id attribute is linked to a section of the notebook.


1 Answers

Since IPython 2 you may use exactly the syntax you first tried:

Link to [Notebook 2](notebook2.ipynb) 
like image 125
akim Avatar answered Sep 21 '22 21:09

akim