Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 978 Bytes

quickstart-06-jupyter.md

File metadata and controls

22 lines (13 loc) · 978 Bytes

Open Jupyter notebooks in VS Code

In this tutorial, we will open a Jupyter notebook in VS Code window.

Prerequisites

Before you begin, ensure you have set Python path properly in VS Code and have already [installed Jupyter in this Python path with pip] (http://jupyter.org/install).

Open a project

  • Launch Visual Studio Code and select File > Open Folder (Ctrl+K Ctrl+O)
  • Select a folder which contains the Jupyter notebook file (.pynb) you want to open.

Select command in context menu

Right click the Jupyter notebook file node and select "AI: View in Jupyter Server" command.

Jupyter in context menu

View and edit in VS Code editor

After clicking the command, a Jupyter server will start and show in editor window. You could view, edit and save your changes back to the file.

Jupyter view in editor