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.

pythonicon

 

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. 

 

 

pythonicon

More Information

Python Extension For Visual Code

Related Articles

Visual 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 

IPython 5.0-LTS Released

Python Development Trends

 

 

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.

Banner


Azure Container Apps Dynamic Sessions Generally Available
02/12/2024

Dynamic Session support has been added to Azure Container Apps. Azure Container Apps is a serverless platform for running containerized applications, and dynamic sessions is designed to provide fast a [ ... ]



Insights Into Learning Computer Science
18/12/2024

JetBrains Academy has published the results of a worldwide survey that set out to discover current trends in computer science education and the challenges involved in studying computer science. I [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info