HOW-TO:Python Development in Visual Studio
Getting Started
This guide is based on Visual Studio 2013, this guidance may be relevant for other versions but mileage may vary!
- Install Visual Studio 2013 and update it.
- Download Python for Windows ( <= v2.7)
- Install Python Tools for Visual Studio
Setting up your Project
If you have existing code go to File -> New -> Project and select From Existing Python Code, otherwise select Python Application. these project templates are under Templates / Python Update the name and the location relevant to your choice.
From Existing Python Code
For the existing code option ensure all the files are added, if you miss some you can add them to the project later. On the next page select the Python version you are running against. On the final page ensure you are happy with your project file name and location and click on Finish.
Python Application
TODO
Running your project
Once you have a project up and running you have the magic of Visual Studio and the python tools at your disposal, along with any other adding to visual studio you like.
Right click on you python file that is the starting point for the plugin and ensure it is set as the startup file. If it is already bolded you do not have to worry about this.