Python VSCode Interactive

Python VSCode Interactive#

A new feature of VSCode is the Python ‘Interactive’ Window. As described here this allows to the work with a Jupyter-like code environment without having to start a JupyterLab notebook server.

So you can run a script in an Interactive window but use cells, combine markdown and do inline plotting. Select the this mode by hitting the pull-down menu from the top-right button.

VSCode interactive

Inside the interactive window, you can type code into cells, and plot in a ‘Notebook-like’ environment without having to run a Jupyter Notebook server.

VSCode interactive