How do I write Python using Visual Studio 2013?

Source: Internet
Author: User

Installing Visual Studio 2013

1, VS2013 download install slightly

Installing python2.7

1. Download python2.7,:https://www.python.org/getit/from official website

Download is an executable file, directly double-click to install, the installation path remains the default (i.e.: C:\Python27).

2. Configuration of environment variables

Add C:\Python27 (easy to run Python directly in cmd) and C:\Python27\Scripts (easy to install WHL files directly on the command line) into the Windows environment variables.

3. Check whether the installation is successful

Open cmd, enter Python, and this shows that the installation was successful:

To install a package by using the command line

1, take BeautifulSoup as an example, first download the compressed package. After decompression

2. Under the cmd window, use the CD command to jump to the directory you are in, and then enter the command: Python setup.py build to compile the package

3. Then enter: Python setup.py install installer package

4, check whether the installation is successful:

Installing PTVs

1. Download Python Tools for Visual Studio,:https://github.com/microsoft/ptvs

2, directly double-click installation can.

3. After the installation is complete, the new project in VS has the following effects:

Install various packages using VS

There are several ways to install Python packages using vs:

How do I write Python using Visual Studio 2013?

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.