I've used javascript magic to get the url into python land:

%%javascript
IPython.notebook.kernel.execute('url = "' + window.location.href + '"');

then parse it with python:

from urllib.parse import urlparse, parse_qsl
qs = dict(parse_qsl(urlparse(url).query))

--
Erik

On Thursday, 12 January 2017 06:51:19 UTC-7, Pav A wrote:
>
> Either:
> * via notebook URL (see 
> https://groups.google.com/forum/#!topic/jupyter/mAMf9OVOgss)
> * via a POST request to the notebook
> * jquery bbq parser talking to Python kernel via Javascript (note: this is 
> explicitly not supported in Jupyter Dashboards: 
> https://github.com/jupyter/dashboards_server/issues/309#issuecomment-267205021
> )
> * any other way?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/bd95aa5d-592a-468a-9051-27d7bf08a710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to