Python In Visual Studio Code Improves Jupyter Support |
Written by Kay Ewbank | |||
Thursday, 16 January 2020 | |||
The latest update of the Python extension for Visual Studio Code has been released with enhanced support for Jupyter. The Python extension makes VS Code a Python editor, and works on any operating system with a variety of Python interpreters.
Jupyter is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Jupyter started life as the notebooks in IPython, but was spun off as an independent product in 2014. Writing about the Jupyter support, Microsoft says: "Visual Studio Code supports working with Jupyter Notebooks natively, as well as through Python code files." The improved support starts with the ability to select the current kernel that the notebook is using. The information about the kernel status is now displayed at the top right of the Notebook Editor and the Interactive Window, where the details of the current kernel that the notebook is using are displayed along with the kernel status (i.e. whether it is idle, busy, etc…). You can also click on the current kernel to bring up the VS Code kernel selector and select which kernel you want to switch to from the list. The next improvement is the performance of Jupyter in VS Code in both the Notebook editor and the Interactive Window. Microsoft says this was accomplished through caching previous kernels and through optimizing the search for Jupyter. The improvements mean the Jupyter server starts faster, and subsequent starts of the Jupyter server are more than two times faster. Creating a blank new Jupyter notebook is also two times faster, as is opening Jupyter Notebooks (especially with a large file size). Other than bug fixes, the other improvement to this release is the option of having environments to be auto activated in an already open terminal right when the Python extension loads.
More InformationPython Extension For Visual Code Related ArticlesVisual Studio Code Python Gets Data Science Kit Visual Studio Python Gets AI-Based IntelliCode Jupyter Notebook 5 Adds Cell Tagging Jupyter 4 Completed By Release Of IPython 4
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |