Python: Use Jupyter kernel in VSCode

Viewed 1239

I am using Python 3 in Visual Studio Code (latest version).

I am wondering if there is a way to run Python scripts (in .py format) in VSCode adopting Jupyter Notebook as default terminal (instead of Powershell).

In a few words, I would like to make VSCode similar to Spyder IDE, which uses Jupyter Notebook as terminal and shows script variables in Variables Explorer.

Thanks in advance.

1 Answers

Using Jupyter extension you can create notebooks and interactive windows.

By clicking the Variables icon in the top toolbar after running code and cells, as mentioned on vscode documentation, you can view your variable explorer.

Related