Python

Read the latest updates about all things Python at Microsoft

PyCon US 2017 wrap-up

Last week we took our Python team on the road to PyCon US 2017, which was held in Portland, Oregon, USA. (image) PyCon is our best opportunity for our engineers to meet the broad range of people who make up the Python community. We love the chance to hang out at our booth, meet and chat with anyone who comes by, and show off the things we'...

Come visit us at PyCon US 2017!

(image) With PyCon US 2017 happening later this week, we wanted to let you know what we will be up to at the conference! To start, thanks to our platinum sponsorship this year, we are going to have a booth in the exhibit hall. This will provide you a place to come if you have any questions involving Python and Microsoft. We are also going ...

Python support is now stable in Visual Studio 2017

Today we have released our next update to Visual Studio 2017, and it's the one you've been waiting for. As of today, the Python development and Data Science and Analytical Applications workloads are stable and ready for production use. You can read our post on the Visual Studio blog for an overview of what is new, and we will release a ...

Python support in Visual Studio 2017

[Updated 7 March 2015] We have now released the preview version of Visual Studio 2017 referred to in this post. Please see our release blog post for more information. Over the last few months, Visual Studio 2017 has been in preview and many of you have been trying it out and providing feedback. We are very appreciative of everyone who has ...

A template for using Python on Azure Web Apps

Back in August we had a blog post on using newer versions of Python on Azure App Service. In that post we outlined why we were working on this alternative approach to using Python on Azure App Service and provided basic templates of key files you needed to make the approach work. While that approach still works, we realized there were some ...

Python in Visual Studio “15” Preview 5

Last week, Visual Studio "15" Preview 5 was made available for download. This release has a number of exciting changes and improvements for Python developers that we are going to be covering over the next few weeks. Today's post will look at the new install experience, covering the improvements and the new options to be aware of. When you ...

Microsoft’s participation in the 2016 Python core sprint

From September 5th to the 9th a group of Python core developers gathered for a sprint hosted at Instagram and sponsored by Instagram, Microsoft, and the Python Software Foundation. The goal was to spend a week working towards the Python 3.6.0b1 release, just in time for the Python 3.6 feature freeze on Monday, September 12, 2016. The ...

Upgrading Python on Azure App Service

App Service is Microsoft Azure's platform-as-a-service offering for web apps, whether they are sites accessed through a browser, REST APIs used by your own clients, or event-triggered processing. Many of you are already using Python to implement your apps on App Service (and rightly so!). When we first enabled Python on App Service we wanted ...

Idiomatic Python: EAFP versus LBYL

One idiomatic practice in Python that often surprises people coming from programming languages where exceptions are considered, well, exceptional, is EAFP: "it's easier to ask for forgiveness than permission". Quickly, EAFP means that you should just do what you expect to work and if an exception might be thrown from the operation then catch ...