Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Python Tools for Visual Studio v2.0

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.)

image

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.

Python Tools for Visual Studio Installation

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:

image

“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...

image

And in just seconds I was writing my first IronPython REPL,

image

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;

2.0 Download

image

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:

IDE
• 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

Debugging
• Mixed-mode debugging for Python and C++. (video overview)
• Remote cross-OS debugging for Windows, Linux and MacOS: (video overview)

Cloud
• 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.

General
• 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... Wink

image

Tags:

Follow the Discussion

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.