module faq.faq_jupyter_helper
#
Short summary#
module ensae_teaching_cs.faq.faq_jupyter_helper
Helpers for jupyter, inspired from nbopen.py
Functions#
function |
truncated documentation |
---|---|
Finds existing running server. |
|
Opens a notebook with an existing server, if no server can be found, it starts a new one (and the function runs … |
Documentation#
Helpers for jupyter, inspired from nbopen.py
- ensae_teaching_cs.faq.faq_jupyter_helper.find_best_server(filename, profile='default')#
Finds existing running server.
- Paramètres:
filename – notebook
profile – profile to use
- Renvoie:
a running server or None if not found
- ensae_teaching_cs.faq.faq_jupyter_helper.nb_open(filename, profile='default', open_browser=True, fLOG=<function fLOG>)#
Opens a notebook with an existing server, if no server can be found, it starts a new one (and the function runs until the server is closed).
- Paramètres:
filename – notebook
profile – profile to use
open_browser – open browser or not
fLOG – logging function
- Renvoie:
a running server or None if not found