[IPython-dev] Multi-Dashboard

Matthias BUSSONNIER bussonniermatthias at gmail.com
Tue Nov 12 02:02:17 EST 2013


Le 12 nov. 2013 à 00:41, Derek O'Connell a écrit :

> I'm running multiple local NB servers and want to see all the dashboards 
> in one page. The obvious thing to do is to create a notebook using 
> iframes to contain each dashboard. Seems to work but should I expect any 
> problems?

No, that should work. 
We'll probably get a way to navigate border in UI by december and 2.0.

> Here's the code I'm using:
> 
> from IPython.display import HTML

Why not import IFrame ? :-)
-- 
M

> 
> iframe = '<iframe src=http://127.0.0.1:{}/ width=100% 
> height=800></iframe><br>'
> ports = [8888,8889]
> 
> frames = ''.join(iframe.format(p) for p in ports)
> HTML(frames)
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list