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?