======= Jupyter ======= `Official doc `_ .. program:: jupyter .. option:: --config-dir Show the location of the config directory. .. option:: --data-dir Show the location of the data directory. .. option:: --paths Show all Jupyter directories and search paths. .. option:: nbextension list List notebook extensions .. option:: labextension list List lab extensions .. option:: notebook list List currently running notebook servers. .. code-block:: bash (usp) λ jupyter notebook list Currently running servers: http://localhost:8888/?token=e1782e715929665dbda4857ff96ad8efb855836a061434df :: D:\spl\projects\usp\machine-learning .. option:: kernelspec list List installed kernels Example of output: .. code-block:: text Available kernels: constellium-docs C:\Users\\AppData\Roaming\jupyter\kernels\constellium-docs machine-learning-jh44uwir C:\Users\\AppData\Roaming\jupyter\kernels\machine-learning-jh44uwir python3 C:\Users\\.conda\envs\usp\share\jupyter\kernels\python3 You can use a kernel like that for example: .. prompt:: bash jupyter qtconsole --kernel=machine-learning-jh44uwir Execute a notebook from command line ==================================== .. prompt:: bash jupyter nbconvert --to notebook --execute --inplace mynotebook.ipynb If you omit ``--inplace``, a file ``*.notebook.ipynb`` is created instead. `More info (official doc) `_ Run Jupyter Lab like an App with Chrome ======================================= .. note:: ``jupyter notebook`` will open equally as an app If you don't have the config file in ``C:\Users\\.jupyter``, run: .. prompt:: bash jupyter lab --generate-config Then edit the ``c.NotebookApp.browser`` in ``jupyter_notebook_config.py``. .. code-block:: python c.NotebookApp.browser = '"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=%s' :tag:`Python` :tag:`Jupyter` :tag:`Tool`