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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube