News

VS Code Python Tool Adds Jupyter Functionality

The Python extension for the Visual Studio Code editor -- installed more than 4.9 million times -- gets some new Jupyter functionality in the December release.

The Jupyter Project is best known for the Jupyter Notebook, described as: "An open-source Web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more."

In the new release of the Python extension for Visual Studio Code, Python developers now have new options for exporting Python files as Jupyter Notebooks.

"This update adds two commands for exporting Python files as Jupyter Notebooks," Microsoft's Dan Taylor announced in a blog post yesterday (Dec. 13). "Along with the export run results command that was shipped in the previous release, the Python extension now offers three Export as Jupyter Notebook options and you can choose the one that is right for your use-case."

The new edition also includes remote Jupyter support. "This release enables you to connect to remote Jupyter servers for execution, so you can offload intensive computation to other machines that have more compute power or have a specific hardware spec that you need," Taylor said.

The changelog details all the changes in the December release, including these listed by Taylor:

  • Update the Microsoft Python language server to 0.1.72/12.1, allowing proper resolution and Go to Definition for namespace packages and relative imports.
  • Load the language server in the background during extension activation.
  • Display progress indicator when activating the language server and validating user setup.
  • Updated logic used to determine whether the Language Server is supported.
  • Allow users to request the 'Install missing Linter' prompt to not show again for pylint.
  • Run in the workspace directory by default for the interactive window.
  • Add support for running Python interactive commands from the command palette.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • New .NET 9 Templates for Blazor Hybrid, .NET MAUI

    Microsoft's fifth preview of .NET 9 nods at AI development while also introducing new templates for some of the more popular project types, including Blazor Hybrid and .NET MAUI.

  • What's Next for ASP.NET Core and Blazor

    Since its inception as an intriguing experiment in leveraging WebAssembly to enable dynamic web development with C#, Blazor has evolved into a mature, fully featured framework. Integral to the ASP.NET Core ecosystem, Blazor offers developers a unique combination of server-side rendering and rich client-side interactivity.

  • Nearest Centroid Classification for Numeric Data Using C#

    Here's a complete end-to-end demo of what Dr. James McCaffrey of Microsoft Research says is arguably the simplest possible classification technique.

  • .NET MAUI in VS Code Goes GA

    Visual Studio Code's .NET MAUI workload, which evolves the former Xamarin.Forms mobile-centric framework by adding support for creating desktop applications, has reached general availability.

  • Visual Studio Devs Quick to Sound Off on Automatic Updates: 'Please No'

    A five-year-old Visual Studio feature request for automatic IDE updates is finally getting enacted by Microsoft amid a lot of initial developer pushback, seemingly misplaced.

Subscribe on YouTube