Python

Read the latest updates about all things Python at Microsoft

Python in Visual Studio Code – February 2019 Release

We are pleased to announce that the February 2019 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 40 issues, including a built-in Test Explorer, validation of breakpoint targets when debugging, and the ability to run any code selection in the Python Interactive window.

Python in Visual Studio Code – January 2019 Release

We are pleased to announce that the January 2019 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 62 issues, including IPython console support and the ability to run an entire file in the Python Interactive window, visualization and navigation to failed pytest tests from the problems window (thanks Chris NeJame), as well as a much faster outline when using the Python Language Server. Keep on reading to learn more!

Python in Visual Studio 2019 Preview 2

Today we are releasing Visual Studio 2019 Preview 2, which contains new features for Python developers to improve the experience for managing Python environments and enable you to work with Python code without having to create a Python project. We’ve also enabled Python support for Visual Studio Live Share. In this post we’ll take a closer look at these new features.

Python in Visual Studio Code – December 2018 Release

We are pleased to announce that the December 2018 release of the Python Extension for Visual Studio Code is now available. This release was a short release, where we primarily focused on two top-requested features for the data science experience shipped in November: remote Jupyter support and export Python files as Jupyter Notebooks. We have also fixed many issues reported on GitHub, and you can see the full list in our changelog.

Python in Visual Studio Code – November 2018 Release

We are pleased to announce that the November 2018 release of the Python Extension for Visual Studio Code is now available. This release was a quality focused release, we have closed a total of 28 issues, improving startup performance and fixing various bugs related to interpreter detection and Jupyter support. Keep on reading to learn more!

Data Science with Python in Visual Studio Code

Today we’re very excited to announce the availability of Data Science features in the Python extension for Visual Studio Code! With the addition of these features, you can now work with data interactively in Visual Studio Code, whether it is for exploring data or for incorporating machine learning models into applications, making Visual Studio Code an exciting new option for those who prefer an editor for data science tasks.

Python in Visual Studio Code – October 2018 Release

We are pleased to announce that the October 2018 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 49 issues, including Jupyter support: import notebooks and run code cells in a Python Interactive window, use new virtual environments without having to restart, code completions in the debug console window, improved completions in language server: recognition of namedtuple, and generic types.

Python in Visual Studio Code – September 2018 Release

We are pleased to announce that the September 2018 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 45 issues, including automatic activation of environments in the terminal, support for Python environments in split terminals, debugger support for the breakpoint() built-in, improved Go To Definition and Find References in the Python Language Server, reduced CPU and Memory consumption in the Python Language Server.

Python in Visual Studio Code – August 2018 Release

We are pleased to announce that the August 2018 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 38 issues including the stable release of our ptvsd 4 debugger, improvements to the language server preview, and other fixes.

Azure

Publish to Azure in Visual Studio 2017

This week, those of you using Visual Studio 2017 RC will be getting an update notification. This is a refresh of RC, with a whole lot of improvements and fixes (based on your feedback), and a selection of features that didn’t quite make the initial RC release.

Azure Python SDK 2.0.0rc2 is out! Why it’s a major step for Azure with Python.

My name is Laurent and I recently moved from France to join the Python team at Microsoft. Along with the rest of our team, I am responsible for maintaining the Azure Python SDK, and we are glad to announce the 2.0.0 RC2 version!

Jupyter

What’s New with the AI and Machine Learning Tools for Python: February 2019 Update

Across Visual Studio Code and Azure Notebooks, January brought numerous exciting updates to the AI and Machine Learning tooling for Python! This roll-up blog post recaps the latest products updates and the upcoming events for AI and Machine Learning.

Data Science with Python in Visual Studio Code

Today we’re very excited to announce the availability of Data Science features in the Python extension for Visual Studio Code! With the addition of these features, you can now work with data interactively in Visual Studio Code, whether it is for exploring data or for incorporating machine learning models into applications, making Visual Studio Code an exciting new option for those who prefer an editor for data science tasks.

What do your users really think? Using Text Analytics to understand GitHub Issue Sentiment

Launch Notebook Now!

Ever get the feeling your users aren’t that happy with your project? We all get those issues that are real downers on our repository. So I thought, let’s take these issues and make something fun.

Python 3 is Winning Library Developer Support

Launch Notebook Now!

https://notebooks.azure.com/library/rJUgQ81mnpo

In 3 months, Python 3 will be better supported than Python 2.

Are you using Python 3 for your development? It has been out for 7+ years at this point.

Uncategorized

Come see us at EuroPython 2018!

Next week is the EuroPython conference from July 23-29 in Edinburgh, Scotland. Microsoft is a platinum sponsor of EuroPython this year, and are looking forward to meeting you there! Be sure to come by our booth and check out our sessions.

New web app tutorials in the VS and VS Code Python docs, and docs feedback

Recognizing the popularity of the Django and Flask web app frameworks, we recently added several tutorials in the Python documentation that guide you through working with these frameworks in Microsoft’s Python-capable IDEs: the lightweight Visual Studio Code available on all operating systems, and the full Visual Studio for Windows. We also wanted to take the opportunity to highlight how you can contribute to docs, and the ways you can give feedback—both of which we very much welcome!

Selecting Python/Native Debugging from the dropdown in Visual Studio 2017
Embedding Python in a C++ project with Visual Studio

In this post, we're going to walk through a sample project that demonstrates scripting a C++ application with Python using CPython, PyBind11 and Visual Studio 2017. We show how you can wrap a C++ class with Python and how to use cross-language debugging and type-hints to get a development experience that only Visual Studio can offer.

Python in Visual Studio Code – May 2018 Release

We are pleased to announce that the May 2018 release of the Python Extension for Visual Studio Code is now available from the marketplace and the gallery. In this release we have closed a total of 103 issues including support for the new and popular formatter Black, improvements to the experimental debugger and formatting as you type.

Recap: Microsoft at PyCon US 2018

Microsoft was a keystone-level sponsor of PyCon US 2018 this year, which took place in Cleveland Ohio from May 9-17th. We had a great time interacting with and learning from the community, and we had a lot of fun! In this post we’ll share our experience and useful links from the conference.

Python in Visual Studio Code – April 2018 Release

We are pleased to announce that the April 2018 release of the Python Extension for Visual Studio Code is now available from the marketplace and the gallery. You can download the Python extension from the marketplace, or install it directly from the extension gallery in Visual Studio Code.

Python at Microsoft: Meet us at Build and PyCon US!

Next week are the Microsoft Build conference in Seattle, WA on May 7-9, and the PyCon conference in Cleveland, OH on May 9-17, and we (the Microsoft Python team) will be at both conferences looking forward to meeting you!

Python in Visual Studio 2017 version 15.7

Note: This post was originally published with Visual Studio 15.7 Preview 4, it has been updated to reflect the latest as of Visual Studio 15.7 RTM.

We have released the 15.7 update to Visual Studio 2017.

Python in Visual Studio Code – March 2018 Release

We are pleased to announce that the March 2018 release of the Python Extension for Visual Studio Code is now available from the marketplace and the gallery. You can the download the Python extension from the marketplace, or install it directly from the extension gallery in Visual Studio Code.

Python in Visual Studio 15.7 Preview

Note: this blog post was first released for 15.7 Preview 1, and has been updated to reflect the latest as of 15.7 Preview 3

We have released the third preview of our next update to Visual Studio 2017.

Visual Studio

Python in Visual Studio 2019 Preview 2

Today we are releasing Visual Studio 2019 Preview 2, which contains new features for Python developers to improve the experience for managing Python environments and enable you to work with Python code without having to create a Python project. We’ve also enabled Python support for Visual Studio Live Share. In this post we’ll take a closer look at these new features.

Python in Visual Studio 2017 version 15.8

We have released the 15.8 update to Visual Studio 2017. You will see a notification in Visual Studio within the next few days, or you can download the new installer from visualstudio.com. In this post, we're going to look at some of the new features we have added for Python developers: IntelliSense with type shed definitions, faster debugging, and support for Python 3.7.

Introducing the Python Language Server

Visual Studio has long been recognized for the quality of its IntelliSense (code analysis and suggestions) across all languages, and has had support for Python since 2011. We are pleased to announce that we are going to be making the Python support available to other tools as the Microsoft Python Language Server.

What’s new for Python in Visual Studio 2017 15.6 Preview 1

Today we have released the first preview of our next update to Visual Studio 2017. You will see a notification in Visual Studio within the next few days, or you can download the new installer from visualstudio.com.

Python tools in your language

This week we’ve released a preview of the next update to Visual Studio. It has all of the improvements that were released recently in VS 2017 Update 1, and also the earliest previews of VS 2017 Update 2.

Interactive Windows in VS 2017

Last week we announced that the Python development workload is available now in Visual Studio Preview, and briefly covered some of the new improvements in Visual Studio 2017. In this post, we are going to go into more depth on the improvements for the Python Interactive Window.

Released: Python support in Visual Studio 2017

Today is launch day for Visual Studio 2017, and you can see all the info and join the live event at launch.visualstudio.com. But over in this corner of our world, we are announcing something special.

As you likely know,

Visual Studio Code

Python in Visual Studio Code – February 2019 Release

We are pleased to announce that the February 2019 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 40 issues, including a built-in Test Explorer, validation of breakpoint targets when debugging, and the ability to run any code selection in the Python Interactive window.

What’s New with the AI and Machine Learning Tools for Python: February 2019 Update

Across Visual Studio Code and Azure Notebooks, January brought numerous exciting updates to the AI and Machine Learning tooling for Python! This roll-up blog post recaps the latest products updates and the upcoming events for AI and Machine Learning.

Python in Visual Studio Code – January 2019 Release

We are pleased to announce that the January 2019 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 62 issues, including IPython console support and the ability to run an entire file in the Python Interactive window, visualization and navigation to failed pytest tests from the problems window (thanks Chris NeJame), as well as a much faster outline when using the Python Language Server. Keep on reading to learn more!

Python in Visual Studio Code – December 2018 Release

We are pleased to announce that the December 2018 release of the Python Extension for Visual Studio Code is now available. This release was a short release, where we primarily focused on two top-requested features for the data science experience shipped in November: remote Jupyter support and export Python files as Jupyter Notebooks. We have also fixed many issues reported on GitHub, and you can see the full list in our changelog.

Python in Visual Studio Code – November 2018 Release

We are pleased to announce that the November 2018 release of the Python Extension for Visual Studio Code is now available. This release was a quality focused release, we have closed a total of 28 issues, improving startup performance and fixing various bugs related to interpreter detection and Jupyter support. Keep on reading to learn more!

Data Science with Python in Visual Studio Code

Today we’re very excited to announce the availability of Data Science features in the Python extension for Visual Studio Code! With the addition of these features, you can now work with data interactively in Visual Studio Code, whether it is for exploring data or for incorporating machine learning models into applications, making Visual Studio Code an exciting new option for those who prefer an editor for data science tasks.

Python in Visual Studio Code – October 2018 Release

We are pleased to announce that the October 2018 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 49 issues, including Jupyter support: import notebooks and run code cells in a Python Interactive window, use new virtual environments without having to restart, code completions in the debug console window, improved completions in language server: recognition of namedtuple, and generic types.

Python in Visual Studio Code – September 2018 Release

We are pleased to announce that the September 2018 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 45 issues, including automatic activation of environments in the terminal, support for Python environments in split terminals, debugger support for the breakpoint() built-in, improved Go To Definition and Find References in the Python Language Server, reduced CPU and Memory consumption in the Python Language Server.

Python in Visual Studio Code – August 2018 Release

We are pleased to announce that the August 2018 release of the Python Extension for Visual Studio Code is now available. In this release we have closed a total of 38 issues including the stable release of our ptvsd 4 debugger, improvements to the language server preview, and other fixes.

Introducing the Python Language Server

Visual Studio has long been recognized for the quality of its IntelliSense (code analysis and suggestions) across all languages, and has had support for Python since 2011. We are pleased to announce that we are going to be making the Python support available to other tools as the Microsoft Python Language Server.