1. Preface
Halo! now began to write the first blog, a little excited about it, please give us a lot of advice!
PTVS (Python Tools for Visual Studio) is an open source project with the Apache 2.0 license release, the main function is that can be in Visual Studio code Python and IronPython, etc., can achieve advanced editing capabilities, Intelligent Sensing (IntelliSense), code browsing and other functions. There is a lot of information on the Internet, I don't say any other nonsense here. But I found from the Internet is mostly in the form of installing plug-ins on vs to use the PTVs method, I used to plug in the form of the use, but reinstall the system is not bothered to install the bulky and cumbersome vs community, so I found that do not install the full version of the VS can also be used PTVs , and free lightweight and powerful! Free, lightweight and powerful! Free, lightweight and powerful! The important thing said three times and then began to introduce the method.
2. Some raw materials
2.1 First essential is the Python environment at the time, I use Python 2.7, from the official website to download, specifically do not elaborate, stickers address: https://www.python.org/downloads/
2.2 If you need to use other Python versions and frameworks such as Django, IronPython or Jython, please download and install them beforehand.
2.3 Because to use the VS2013 version of PTVs, so to download version 2.2, if you like VS2010, download 2.1 version, but 2.1 version of the VS2013 is incompatible, so you have to find the VS2010 shell. Post the PTVS GitHub home path http://microsoft.github.io/PTVS/;
2.4 Below is the more critical part, we need to download the visual Studio of the Shell, official website Path Https://www.visualstudio.com/downloads/download-visual-studio-vs : Introduction to Visual Studio-Shell connection http://www.cnblogs.com/TianFang/archive/2013/07/19/3201469.html
2.5 Open the VS Download website (version 2015.09), and in the left navigation bar, locate the Visual Studio Shell under "Tools for Visual Studio 2013" and click;
2.6Visual Studio-Shell has an integrated and standalone two version, please download, indispensable. After the download is completed for Vs_intshelladditional.exe and Vs_isoshell.exe;
3. Installation method
3.1 Installation method is very simple, first install the Python and IronPython environment, and add environment variables to the system path;
3.2 Then install the standalone version of the VS2013 Shell, which is Vs_isoshell.exe
3.3 Installing the integrated version of the VS2013 Shell, which is Vs_intshelladditional.exe
3.4 Finally installs the PTVS2.2, opens the Visual Studio to begin to enjoy!
ptvs+vs2013 Shell implements free, lightweight and powerful Python IDE