To add to that, Jupyter uses the webbrowser module to launch your browser.
Here it is in the code:
https://github.com/jupyter/notebook/blob/31c2184d011e2a6b78d02f6039f0da4273a2cfb5/notebook/notebookapp.py#L1732

So if you're seeing different behaviour from calling webbrowser.get()
yourself, it can only really be because of a difference in the environment,
or because you have configured NotebookApp.browser.

On Mon, 7 Jan 2019 at 06:23, Roland Weber <[email protected]> wrote:

> Are you running "jupyter notebook" from the same environment in which you
> did the test with the webbrowser module? If it is a different environment
> (conda?), compare the environment variable BROWSER in both.
>
> cheers,
>   Roland
>
> --
> 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/518c30d3-7c59-4fb5-b938-2392e6f662cb%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/518c30d3-7c59-4fb5-b938-2392e6f662cb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAOvn4qgCVGkgxttkYS%3Dci-Nv%2BpMb-%3DbZiuuhhMVY6r1ChX1hsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to