-
When I click any file (.ipynb, .txt, .jpg etc) from the jupyter localhost tree, it opens on another tab. I want it to be opened in the same tab, is it possible to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Greetings @duruburak Yes, it is possible to configure Jupyter Notebook to open files in the same tab instead of a new tab. Here's how you can do it: Open your Jupyter Notebook configuration file. You can do this by running the following command in your terminal: jupyter notebook --generate-config. Find the line that starts with c.NotebookApp.browser. If this line is commented out (i.e., it starts with a #), remove the # to uncomment it.
After completing these steps, when you click on a file in the Jupyter Notebook tree, it should open in the same tab instead of a new tab. Or just use jupyter lab |
Beta Was this translation helpful? Give feedback.
-
@duruburak you could also try using JupyterLab which allows for opening multiple notebooks in the same browser tab: https://jupyterlab.readthedocs.io/en/latest/ |
Beta Was this translation helpful? Give feedback.
Greetings @duruburak
Yes, it is possible to configure Jupyter Notebook to open files in the same tab instead of a new tab. Here's how you can do it:
Open your Jupyter Notebook configuration file. You can do this by running the following command in your terminal: jupyter notebook --generate-config.
Find the line that starts with c.NotebookApp.browser. If this line is commented out (i.e., it starts with a #), remove the # to uncomment it.