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 at Converge 360.

comments powered by Disqus

Featured

  • VS Code 1.127 Further Integrates Advanced Browser-AI Tech

    Microsoft's July 1 Visual Studio Code update continues a recent push to make the editor's integrated browser a more capable development surface -- and a more useful tool for AI agents.

  • Support Vector Regression with SGD Training Using C#

    Support vector regression can predict numeric values effectively, and this article shows how to implement and train a kernel SVR model in C# using stochastic sub-gradient descent.

  • New GitHub Switch Limits Repo Issue Creation to Collaborators Only

    After publicly touting pull request limits as a way to cut maintainer noise, GitHub is taking the same idea further with a new setting that lets repository admins restrict issue creation to collaborators only.

  • Uno Platform Helps Ship First Stable SkiaSharp 4.0 Release for 2D .NET Graphics

    SkiaSharp 4.148.0 is the first stable v4 release, bringing a newer Skia engine, API cleanup, performance work and a Microsoft-Uno co-maintenance model.

Subscribe on YouTube