Python Tools for Visual Studio v2.0
- Posted: Oct 28, 2013 at 6:00 AM
- 15,367 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
For today's project we're on the Language Track, highlighting a free and open source extension to Visual Studio that Python users will love (and anyone who would like to see how to extended Visual Studio to add language support, etc.)
PTVS is a free, open source plugin that turns Visual Studio into a Python IDE.
PTVS supports CPython, IronPython, editing, browsing, Intellisense, mixed Python/C++ debugging, remote linux/MacOS debugging, profiling, IPython, Django, and cloud computing with client libraries for Windows, Linux and MacOS.
Designed, developed, and supported by Microsoft and the community.
Installing PTVS is relatively easy. You basically need three things:
1) Visual Studio (paid or free version)
2) PTVS extension (gives VS Python support)
3) A Python interpreter (not bundled with PTVS)
If you have VS already, install PTVS. If you don’t, consider installing the PTVS-Integrated package. Then add an interpreter and you’re good to go:
“PTVS Integrated” combines the “VS 2013 Shell” along with PTVS into one single package. The resulting Python IDE is completely and perpetually free. PTVS Integrated has all the same features as the full/paid version of VS, except for Profiling and Unit Test support. Note: PTVS Integrated requires at least Win7 SP1 and IE10.
NOTE: you cannot install PTVS (or any extension for that matter) into the VS Express editions.
The VS 2013 version and IronPython installed for me very quickly and everything just worked...
It's kind of cool seeing WPF/Winform IronPython Project Templates...
And in just seconds I was writing my first IronPython REPL,
If you're doing Python and already have Visual Studio, getting this is kind of a no brainer...
BTW, Visual Studio 2010, 2012 and 2013 are all supported;
We’re pleased to announce the release of Python Tools for Visual Studio 2.0 RTM. Python Tools for Visual Studio (PTVS) is an open-source plug-in for Visual Studio which supports programming with the Python language. PTVS supports a broad range of features including CPython/IronPython, Edit/Intellisense/Debug/Profile, Cloud, IPython, and cross platform and cross language debugging support.
QUICK VIDEO OVERVIEW
For a quick overview of the general IDE experience, please watch this video.
CHANGES SINCE 1.5 RTM
There are a number of exciting improvements in this release compared to 1.5RTM, many based on your feedback & suggestions. Here’s a summary:
• Python Environments: Please refer to the documentation or this video overview
• Virtual Env support: easily and quickly create silo’d environments for installing packages in your project.
• Various Intellisense improvements, especially for packages with compiled modules such as numpy and PyQt. Please refer to the documentation or this video overview
• New reformat code command
• Publish Django applications to Windows Azure Web Sites – in addition to the already existing publish to Cloud Service you can now quickly publish a site to Windows Azure
Web Sites. (video overview)
• Various bug fixes to the Azure SDK for Windows, Linux and MacOS.
• Starting with VS2013, we’re happy to announce that PTVS is “in the box”. This means when you install Visual Studio, there is a an existing “Python” download link which will direct you to the latest PTVS installer.
• Various bug fixes and performance improvements, such as large project load times
And there's a number of samples too (note the Kinect sample...