Install the Python development plugin on Visual Studio Ultimate PTVS

Source: Internet
Author: User

1. My environment

Operating system: Win7 flagship Service Pack 1

VS version: Microsoft Visual Studio Ultimate 2012 version 11.0.50727.1 Rtmrel

2. Installation process

PTVS (python Tools for Visual Studio) is a Python development plugin under vs

The first page of PTVS on OSC is: Http://www.oschina.net/p/PTVS

The download page is: http://pytools.codeplex.com/releases/view/109707

Because I'm using the VS version is 2012, so I downloaded the corresponding 2012 version of this plugin: PTVS 2.1 VS 2012.msi

After downloading the file run File PTVs 2.1 VS 2012.msi, there will be Windows running security warning, stand-alone "run" can

After running, you will see the User agreement interface: Apache License Version 2.0

The contents of this agreement can be seen on this page: http://www.apache.org/licenses/LICENSE-2.0

Check here "I accept the terms in the License agreement" is OK

The installation process is a reading bar, and at some point it may be stuck for a while

After installation, click the "Finish" button to end the installation

3. Interpreting the Script

Open Visual Studio, find file → new → project

In the new project page, in the left tree menu, installed → templates → Other languages you can find Python

Choose Python application to create one of the simplest Python programs

After you enter the code, you can execute the code by clicking the Start button.

Execute Code "print (' Hello world ')" effect such as:

END

Install the Python development plugin on Visual Studio Ultimate PTVS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.