In [1]:
from flexx.webruntime import launch
The API for this module consists mainly of the launch() function. It opens the given
URL in one of the supported runtimes. By default, it will use the 'xul' runtime (which relies on Firefox) if its available.
In [2]:
launch('http://flexx.rtfd.org', title='Flexx website')
Out[2]:
You can also specify the runtime. When this is a browser, you can (of course) not set the title, size etc.
In [3]:
launch('http://flexx.rtfd.org', 'firefox')
Out[3]: