Python Tools for Visual Studio

Free

PTVS is a free/OSS plugin from Microsoft that turns VS into a Python IDE (Express/Pro). Supports CPython, IronPython, Intellisense, mixed Python/C++ debug, remote linux/MacOS debugging, profiling, HPC clusters, multiple REPL’s, IPython, Django, flask, cloud computing, ...

(13) Review
Visual Studio
2013, 2012, 2010
Get now (105,536)
10/30/2014
2.1
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (13)
Q and A (6)
Sign in to write a review
Sort by:

by troflog | May 06 2015

Super

by LRPalacios | May 02 2015

Great tools, just having some trouble trying to format (ctrl+k, ctrl+d) the html code when on django template

by Anton Vildyaev | December 28 2014

Great job everyone! :)
Love IPython integration

by jj995 | August 21 2014

Intellisense and the debugger don't work well for me. I work on a project with IronPython, C#, and C++.

With the debugger, I can't step into C++ code from IronPython (although I've heard this works from CPython instead of IronPython).

I don't particularly like the debugger for just IronPython files either because the stack entries show up as things like the following:

Snippets.debug.scripting!__main__$1.__main__(IronPython.Runtime.FunctionCode $functionCode) Line 176

Compare this to the integrated python pdb stack entry:

> d:\foo\main.py(176)<module>()

I prefer to not have all the "Snippet" like garbage cluttering the stack.

Intellisense fails to work for C# calls from IronPython.

Intellisense also fails to work from many of my imported IronPython modules.

Attempts to get help is difficult, since there is no PTVS mailing list nor IRC channel and it seems that there is a huge backlog of issues listed at https://pytools.codeplex.com/workitem/list/basic .

It seems odd to me that all reviews I've found so far rave about the greatness of PTVS. I suspect that the rave reviewers are using PTVS with CPython and not IronPython.

HPCToolsGuy October 27 2014
| Edit |
Delete

hi jj995 - sorry about the problems :(. some clarifications:

1. there is no stepping from IronPython to C++. if you take a look at the docs, mixed mode debug is only available from CPython <-> C++.

2. there are a few debuggers/launchers at play. eg the .Net one (which allows IronPython/C# mixed mode), MMD (CPython/C++), and the regular Python one.

3. re isense w C#/IronPython - please file a bug so we can look. please include your particular scenario pls.

4. re help/IRC/etc. all our support is via the forum one the project's home page. we've generally been good about responding to all requests (despite being a small team). generally the dev who wrote the code will respond to your query (not PSS, etc).

5. it's true that CPyhton at this point has the best support. this partly reflect the user base (98% CPython). however, please file any bugs or feature requests and we'll try to adrs them as best possible. also note that we do take patches, so if youre a dev that would like to send us a pull request, we'd be delighted!

cheers,

shahrokh

http://pytools.codeplex.com

by Ed (DareDevil57) | August 14 2014

by mperga | June 06 2014

by Franklin_Banks | April 04 2014

Easily the best Python development tool out there.

by sk3141 | January 16 2014

by Hagai Akibayov | January 11 2014

by igetgames | October 31 2013

by boblewis | February 18 2013

by Arkady Shapkin | December 02 2012

by Dzmuh | April 14 2011

Sign in to start a discussion


  • What must I do run to Python code with imported modules in Visual Studio?
    1 Posts | Last post August 12, 2015
    • Example for the question.
      
      File Structure
      
      foo_folder
          |
          bar_module.py
          |     |___foo_func
          |     |____init___
          python application folder
                |___python_solution.sln, .proj ...
                |___python_application.py
      
      bar_module.py:
      
      def foo_func():
          return 3.14
      
      python_application.py
      
      from clients.reddit import foo_module
      
      if __name__ == '__main__':
          print(foo_module.foo_func())
      
      I have a solution with a project and one .py file in it. The file in that project imports a module outside the project. Now in PowerShell this works. But in Visual Studio it doesn't. These are the issues:
      
      I can't run this code from Visual Studio as I get an import error.
      
      Intellisense doesn't work. When I'm working in python_application.py there is no intellisensefor bar_module.
      
      Now I realize I could add bar_module.py to the project, but that makes a local copy which I don't want. What do I need to change so I can run this code from Visual Studio and get Intellisense to work?
  • VS 2012 still supported?
    1 Posts | Last post May 07, 2015
    • Do the latest stable version 2.1 and the 2.2 RC still support VS 2012?
  • How to run Python test in VSO Hosted Build Controller
    1 Posts | Last post April 25, 2015
    • Hi, can you tell me how to run python test in Visual Studio Online Hosted Build Controller?
      
      From below link:
      https://www.visualstudio.com/en-us/get-started/build/run-tests-with-builds-vs
      
      Looks like I should follow answer in question in this webpage "Can I run tests from a different unit test framework in my builds?"
      
      But I can't figure out how yet.
      
      Thanks
      
  • Link is not available.
    1 Posts | Last post October 24, 2014
    • The download link is unavailable at the moment.
      
      https://visualstudiogallery.msdn.microsoft.com/9ea113de-a009-46cd-99f5-65ef0595f937/referral/47140
      
      Can someone just have a look at this?
  • VS 2013 Preview?
    1 Posts | Last post July 03, 2013
    • When will this be available for VS2013 Preview?
  • VS 2012?
    2 Posts | Last post October 08, 2012
    • The title says it. Will this come to Visual Studio 2012?
    • hi kirllenseer,
      
      yes, the newly release 1.5RC supports VS2012.