Python Tools for Visual Studio


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, multiple REPL’s, IPython, Django, flask, cloud computing, ...

(17) Review
Visual Studio
2015, 2013, 2012
Get now (165,710)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (17)
Q and A (10)
Sign in to write a review
Sort by:

by warnerbros | October 01 2016

Provides an amazing Python editing experience. If you are just using a text editor for Python, you are really missing out.

by cpxPratik | May 06 2016

by Sheng Chiu | January 27 2016


by alexjosesilva | December 14 2015

Cuido com o bug
Python interactive window. Type $help for a list of commands.
Executing syncdb
Unknown command: 'syncdb'
Type ' help' for usage.
The Python REPL process has exited

terá de atualizar o seu python para dar suporte ao Django 1.9

by troflog | May 06 2015


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

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 |

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!



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

  • Should update homepage link and binaries
    1 Posts | Last post September 14, 2016
    • Shouldn't this be updated to link to the new website at:
      ... and with the latest PTVS releases for the relevant VS releases?
      For reference, those releases are:
        * PTVS 2.1 for VS 2010/2012:

        * PTVS 2.2.2 for VS 2013:

        * "latest" for VS 2015:

          Note: at present, this is *called* PTVS 2.2.5 but *tagged* "2.2.5post1"; see:

  • Python Visual Studio extension doesn't show errors
    1 Posts | Last post June 28, 2016
    • NOTE: Repost from
      I'm used to use VS to code C++ and Eclipse to code python but lately I have tried VS for both languages.
      I found something very difficult to understand that while VS autocompletes it doesn't warn you about errors before runtime.
      There is no warning regarding non existent variables or methods. I can't believe that VS does not warn about this kind of typical coding issues as it does for C++ code (as every IDE does).
      What am I missing?
      I tested this with VS2013 and VS2015.
  • Visual Studio Designer and Python
    1 Posts | Last post April 07, 2016
    • Can I use the Windows Designer in Visual Studio with Python?
  • Autocompletion for Python code
    2 Posts | Last post March 07, 2016
    • I cannot use Autocompletion for Python code in Visual Studio. Does not it provide Autocompletion even after Python Tools for Visual Studio install?
      Thank you
    • Oops! I just found its key is 'Ctrl + Space'..instead of 'Tab' key.
  • 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_func
          |     |____init___
          python application folder
                |___python_solution.sln, .proj ...
      def foo_func():
          return 3.14
      from clients.reddit import foo_module
      if __name__ == '__main__':
      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 there is no intellisensefor bar_module.
      Now I realize I could add 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:
      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.
  • Link is not available.
    1 Posts | Last post October 24, 2014
    • The download link is unavailable at the moment.
      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.