简体   繁体   中英

Python: Use Jupyter kernel in VSCode

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM