o(╥﹏╥)oSad

WeChat cannot downloadVS Python plug-in (Python Tools for Visual Studio), but just click on the upper right corner and select open in browser or Safari!
VS Python plug-in (Python Tools for Visual Studio)

VS Python plug-in (Python Tools for Visual Studio)

Recommended for you: Python software

Microsoft today released a Python tool in the Codeplex community that can run in the Visual Studio environment and is an open source and free VS2010 plug-in. This plug-in allows Python developers to take advantage of a series of Visual Studio advantages, and comprehensively takes care of the habits of CPython and IronPython. In addition, it also introduces new features, such as the deployment of high-performance computing will become more convenient.

PTVS (Python Tools for Visual Studio) is an open source project based on the Apache 2.0 protocol and hosted on CodePlex. Developers can use it to turn Visual Studio into a Python IDE. The main features of PTVS include: CPython, IronPython, Jython and PyPy; advanced editing functions such as IntelliSense, multi-refactoring, built-in REPL (read-eval-print loop) window, debugging and analysis functions, etc.

PTVS is an open source project released under the Apache 2.0 license.

VS Python plug-in (Python Tools for Visual Studio)

Main features of PTVS:

1. CPython, IronPython, Jython and PyPy;
2. Advanced editing functions such as IntelliSense;
3. Multiple reconstruction;
4. Built-in REPL (read-eval-print loop) window;
5. Debugging and analysis functions, etc.

Update log:

Microsoft officially released PTVS 2.1 Beta version. Among the more important updates are: support for new web frameworks, Bottle and Flash, which can be installed on Visual Studio Express, and improved IntelliSense for Django templates. The latest version also allows developers to add a CoreCompile to the project to build non-Web projects in Visual Studio.

VS Python plug-in (Python Tools for Visual Studio)

In terms of debugging, the performance and stability of processing large data sets have been improved. PTVS supports hybrid debugging technology, and developers can even interactively debug Visual Studio instances running Python in Linux Azure.

Add support for python-2.7.9

Next, we need to enable PTVS to use the python-2.7.9 we installed, open the parameter configuration of VS2013, and add support for python-2.7.9:

VS Python plug-in (Python Tools for Visual Studio)

Configure pip

pip is a way for python to manage libraries. It allows us to easily install python extension libraries, so we need to install it first:

VS Python plug-in (Python Tools for Visual Studio)

When connected to the Internet, you only need to simply click the installation link of pip, and PTVS will automatically download and install pip on the MS website. As shown in the picture above, the currently installed version is pip-6.1.1.

Install numpy

Numpy is a basic library for scientific computing using python. It can be directly searched in the pip library. However, the package obtained in this way cannot be installed successfully because it only supports vs2008 and not vs2013.

So we directly found a numpy package compiled by others online:

numpy-1.9.2+mkl-cp27-none-win32.whl

Unzip it to

C:Python27Libsite-packages

VS Python plug-in (Python Tools for Visual Studio)

Next, let ptvs update the numpy library to support automatic prompts.

VS Python plug-in (Python Tools for Visual Studio)

Just select Refresh DB.

Test the numpy library and open a python interactive window:

VS Python plug-in (Python Tools for Visual Studio)

Done!

Version: 2.2.6 Official latest version | Update time: 2024-12-30

Similar recommendations

Latest updates

VS Python Plug-in (Python Tools for Visual Studio) Reviews

  • 1st floor Huajun netizen 2020-03-17 17:37:16
    The VS Python plug-in (Python Tools for Visual Studio) software is very easy to use, the download speed is very fast, and it is very convenient!
  • 2nd floor Huajun netizen 2018-09-04 01:14:43
    The VS Python plug-in (Python Tools for Visual Studio) is convenient, practical and powerful. The software is very easy to use!
  • 3rd floor Huajun netizen 2019-07-01 20:39:54
    The VS Python plug-in (Python Tools for Visual Studio) has comprehensive functions and is very convenient to use.

Recommended products

everyonealso likeThese:

+

This application has not passed real-name authentication. You can download it through the mobile assistant.

CancelOK