|Python Tools for Visual Studio 2.1 Beta|
|Written by Kay Ewbank|
|Tuesday, 15 April 2014|
Microsoft is improving the support for Python in Visual Studio with the release of Python Tools for VS 2.1 beta.
The update adds support for new web frameworks including Bottle and Flask, support for installing on Visual Studio Express and improvements to Django template IntelliSense.
In a blog post about the update, Somasegar said:
“with integrated IPython 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.”
Somasegar notes that Python code will run in most modern browsers as long as the browser is backed by a local Python engine and that Microsoft has also added support for Python in Azure. He says that 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.
The improved support for web frameworks is interesting; PTVS has had support for Django since 1.5, and now supports Bottle and Flask. There is also a “generic” web framework template that you can use for frameworks such as Pyramid. This videowalks you through setting up a Flask web project, importing an existing Pyramid one and publishing them to Azure Web Sites:
Microsoft is working on adding support for remote debugging for Azure Web Sites, and this is expected to be added to PTVS 2.1 Beta 2 in the near future.
If you’re using Django templates, the beta has full support for HTML5, CSS and JS. It has syntax highlighting and Intellisense for CSS and JS, and the HTML Intellisense has also been improved. Other improvements include better debugger performance, enhanced stability while working with large data sets, and the ability to add a CoreCompile target to your project when creating non-web-based projects inside Visual Studio.
The beta is free under the Apache 2.0 license, and is hosted on CodePlex. It can be installed in the free Visual Studio Express for Web, or the Visual Studio Express for Windows Desktop.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Tuesday, 21 October 2014 )|