Can VS write python?
VS can write python, the specific steps are as follows:
Install visual studio2013
1. Download and install VS2013
Install python2.7
1. Download python2.7 from the official website, download address: https ://www.python.org/getit/ As shown in the picture:
The download is an executable file. You can install it by double-clicking it. The installation path remains the default (ie: C: \Python27).
2. Configuration of environment variables
Will be C:\Python27 (convenient to run python directly in cmd) and C:\Python27\Scripts (convenient to install whl files directly in the command line) Added to windows environment variables.
Related recommendations: "Python Video Tutorial"
3. Verify whether the installation is successful
Open cmd, enter python, and the following figure will appear. Successful installation:
Use the command line to install the program package
1. Taking beautifulsoup as an example, first download the compressed package. After decompression, it looks like this:
2. In the cmd window, use the cd command to jump to the directory where the picture above is located, and then enter the command: python setup.py build to compile Program package
3. Then enter: python setup.py install Installation package
4. Verify whether the installation is successful, as shown in the figure:
Install PTVS
1. Download Python Tools For Visual Studio. Download address: https://github.com/Microsoft/PTVS
2. Just double-click to install.
3. After the installation is completed, the effect of creating a new project in VS is as follows:
Use VS to install various program packages
The method of using VS to install various python packages is as follows:
The above is the detailed content of Can VS write python?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Regarding the problem of removing the Python interpreter that comes with Linux systems, many Linux distributions will preinstall the Python interpreter when installed, and it does not use the package manager...

Pylance type detection problem solution when using custom decorator In Python programming, decorator is a powerful tool that can be used to add rows...

About Pythonasyncio...

Using python in Linux terminal...

Loading pickle file in Python 3.6 environment error: ModuleNotFoundError:Nomodulenamed...

Compatibility issues between Python asynchronous libraries In Python, asynchronous programming has become the process of high concurrency and I/O...

Error loading Pickle file in Python 3.6 environment: ModuleNotFoundError:Nomodulenamed...

The problem and solution of the child process continuing to run when using signals to kill the parent process. In Python programming, after killing the parent process through signals, the child process still...
