##// END OF EJS Templates
Start webbrowser in a thread. Prevents lockup with Chrome....
Start webbrowser in a thread. Prevents lockup with Chrome. If a user has Chrome set as their default browser (system-wide or via the `BROWSER` environment variable), opening the notebook hangs because the chrome call doesn't return immediately. This solves the issue by opening the browser in a thread. Note that there remains an issue where killing the notebook will kill Chrome if the Chrome session was started by us. I haven't found a way to work around that despite attempts by making the webbrowser.open() call in a subprocess.

File last commit:

r2760:afe1263a
r5212:2178365f
Show More
ipython-wx
11 lines | 320 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""wxIPython -- An enhanced Interactive Python GUI fonrtend
This script starts the Wx graphical frontend.
This is experimental so far.
Currently it support only ipython0 instance. Will be upgraded to ipython1 one.
"""
from IPython.gui.wx import wxIPython
wxIPython.main()