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

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

  • Copilot Agentic AI Dev Environment Opens Up to All

    Microsoft removed waitlist restrictions for some of its most advanced GenAI tech, Copilot Workspace, recently made available as a technical preview.

Subscribe on YouTube