How to write python code in vs2017

silencement
Release: 2020-09-17 16:00:07
Original
7666 people have browsed it

Method: 1. Set up a Python environment; 2. Install vs2017 software, then run Visual Studio Istaller, check "python development", configure the running environment; 3. Open VS, select the python application, and then click "Attach " button, open the IDE to write python code and run it.

How to write python code in vs2017

#1. Building the Python environment:

Here I choose Anaconda to help us set up the python environment in a fool-proof way. Download address of Anaconda:https://www.anaconda.com/download/#download

How to write python code in vs2017

Just choose the appropriate version to download, I The selected Python3.6 version 64-bit is installed after downloading. Anaconda will help us install the Python environment.

2. Choice of Python development in VS2017:

How to write python code in vs2017

If you have already installed VS2017, directly find Visual Studio Installer, run and select modification, and check the python program Select

How to write python code in vs2017

If you have not installed VS2017, you need to download the latest VS2017 from the VS official website.

3. Test environment:

After the environment is set up, you need to test whether it is set up successfully. Open VS and select the python application;

How to write python code in vs2017

## You can see that the Python3.6 we installed has been introduced

How to write python code in vs2017

Then click the additional button: the following interface appears, which means that our VS2017 has been able to Successfully used as Python IDE.

How to write python code in vs2017

The above is the detailed content of How to write python code in vs2017. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!