Python Development in Visual Studio

If you are a python developer you are probably accustomed to coding in notepad++ or Idle… You may want to try using Py Tools (PYVS) with Visual Studio.

You ask why?

Well first you will be able to take full advantage of Intellisence (intelligent code completion) in Visual Studio which really helps with the development process and debugging.

Second, it will do real time white space debugging to help correct code formatting issues.

What versions of Visual Studio are supported?

There is support Visual Studio 2012 and 2013 and it doesn’t require any special version of python.

A few examples

Here is what you will see in Visual Studio. I’m using 2012.

vspythondev1 vspythondev2 vspythondev3

Note about Express editions

In the past if you were using Visual Studio Express edition the plugins feature had been disabled preventing use py tools. An article in Visual Studio magazine from April 2014 states that pytools (PTVS 2.1 Beta) will now work in Visual Studio 2013 Web and Desktop express versions. You can read about it here:

http://visualstudiomagazine.com/articles/2014/04/10/python-tools-for-visual-studio.aspx

http://blogs.msdn.com/b/somasegar/archive/2014/04/10/python-tools-for-visual-studio-2-1-beta.aspx

Go get it

For information or to download pytools otherwise known as PYVS go here:

https://pytools.codeplex.com/

 

Happy coding!