Microsoft Upgrades Python Tools For Visual Studio

Microsoft has announced the availability of Python Tools for Visual Studio (PTVS) 2.1 Beta.

Microsoft officials said Python Tools for Visual Studio provide a great development experience for general scripting, web programming and technical computing. The new tools also support new web frameworks including Bottle and Flask; improve editing of Django templates; integrate with publishing on Microsoft Azure Web Sites; and support for installing on Visual Studio Express for Web and Windows Desktop.

Widely Used

Python has been a widely used programming language across the industry for more than two decades,” said S. “Soma” Somasegar, corporate vice president of Microsoft’s Developer Division, in a blog post on the new tools. “We’ve provided great support for Python in Azure for some time. And in Visual Studio, we’ve been developing the Python Tools for Visual Studio for the last two years. Today, we’ve released Python Tools for Visual Studio 2.1 Beta.”

Microsoft has released the Python tools under the Apache 2.0 open source license and will accept contributions from the developer community. Developers can download the bits on CodePlex.

Somasegar said with integrated IPython read-eval-print loop (REPL) support for smart history, shell commands and inline images, these tools provide a great exploratory coding environment. And with unique features like mixed mode debugging of Python with C++ and remote debugging of Linux servers in Azure, Visual Studio provides a great development environment for Python developers, he added.

In addition, PTVS provides a solid environment for many data and scientific computing scenarios such as machine learning, Somasegar said.

Popular Python

“I’m consistently shocked that folks forget about Python at Microsoft,” wrote Scott Hanselman, a Microsoft software architect in a blog post from July of last year. “I am a C# person, myself, but the Developer Division at Microsoft loves their languages. C++, VB, C#, F#, etc and they aren’t messing about when they get serious about a language. One of the least-known and most-kick-butt free products we have is PTVS – Python Tools for Visual Studio. Whether you’re just interested in learning Python or you’re a hardcore PhD who wants mixed-language Python and C++ debugging or somewhere in between, you gotta check this out. (Seriously, the mixed-mode debugging thing can’t be overstressed…)”

Somasegar noted that developers can also run the same Python code in any modern browser backed by a Python engine running locally or in Azure. “Where PTVS provides detailed IntelliSense and advanced debugging and profiling support, IPython enables easy sharing of ‘executable’ notebooks comprised of mixed code, markdown and graphics,” he said.

Moreover, Hanselman, a popular speaker and no-holds-barred demo expert at Microsoft developer-oriented events, added:

“Let’s get real here for a second. Lots of projects plug stuff into Visual Studio. You may have made it this far into the post and be saying “oh, wah wah, this thing sets up some batch files and some syntax highlighting and calls itself a full-featured Python IDE.

“Um, no. This is the best of VS and the best of Python and I’m blown away. Check this out. PTVS knows that I’m doing unit testing here and they’ve integrated Python Unit Testing with the VS Unit Testing UI.”

Also, with the 2.1 Beta the Python Tools are now installable in the free Visual Studio Express for Web and Express for Windows Desktop, Somasegar said. “Developers have access to great free tools for Python Web development with Visual Studio, as well as a complete Python + C++ IDE for data sciences work, he said.

Since Microsoft’s release of the Python Tools two years ago, this implementation of a language extension for Visual Studio has been used as a reference implementation by many other language extensions developed both by Microsoft and by partners, Somasegar said.

Do you know about Windows? Try our quiz!

Originally published on eWeek.

Darryl K. Taft

Darryl K. Taft covers IBM, big data and a number of other topics for TechWeekEurope and eWeek

Recent Posts

Apple, Google Mobile Ecosystems Should Be Investigated, CMA Told

CMA receives 'provisional recommendation' from independent inquiry that Apple,Google mobile ecosystem needs investigation

3 days ago

Australia Rejects Elon Musk Claim About Social Media Ban For Under-16s

Government minister flatly rejects Elon Musk's “unsurprising” allegation that Australian government seeks control of Internet…

3 days ago

Northvolt Files For Bankruptcy Protection In US

Northvolt files for Chapter 11 bankruptcy protection in the United States, and CEO and co-founder…

3 days ago

UK’s CMA Readies Cloud Sector “Behavioural” Remedies – Report

Targetting AWS, Microsoft? British competition regulator soon to announce “behavioural” remedies for cloud sector

3 days ago

Former Policy Boss At X, Nick Pickles, Joins Sam Altman Venture

Move to Elon Musk rival. Former senior executive at X joins Sam Altman's venture formerly…

4 days ago

Bitcoin Rises Above $96,000 Amid Trump Optimism

Bitcoin price rises towards $100,000, amid investor optimism of friendlier US regulatory landscape under Donald…

4 days ago