bokeh.command.bootstrap¶
Provide a main
function to run bokeh commands.
The following are equivalent:
Running the
bokeh
command line script:bokeh serve --show app.py
Using
python -m bokeh
:python -m bokeh serve --show app.py
Executing
main
programmatically:from bokeh.command.bootstrap import main main(["bokeh", "serve", "--show", "app.py"])