Zichen Wang Zichen Wang - 1 year ago 72
Python Question

How to run IPython notebook server with a specified URL route

I want to run a IPython notebook server on the a predefined URL like:


I've tried

$ ipython notebook --ip=localhost/my_notebook

which didn't work.

Can anyone please help?

Answer Source

You can set the configurable value from command line like this:

ipython notebook --NotebookApp.base_url='my_notebook'

Alternatively, you can set it in a config file for your profile. You can read more about it here.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download