In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to build a python development environment under windows". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to build a python development environment under windows.
I. introduction of the environment
Operating system: win10 64 bit
Python version: 3.8
IDE: using vscode
2. Introduction to building python development environment 2.1Python
Because Python is cross-platform, it can run on Windows, Mac, and various Linux/Unix systems. Writing Python programs on Windows can also be run on Linux.
To start learning Python programming, you must first install Python on your computer. After installation, you will get the Python interpreter (the one responsible for running Python programs), a command line interactive environment, and a simple integrated development environment.
Currently, there are two versions of Python, one is 2.x, the other is 3.x, these two versions are not compatible. Due to the increasing popularity of version 3.x, we chose the version 3.x to install later.
2.2 install the Python environment under windows
Download address of Python official website: https://www.python.org/downloads/
Check Add Python 3.8to PATH, then click "Install Now" to complete the installation.
After the installation is complete, open the command line window for windows.
When you run python on the command line, the following prompt indicates that the installation was successful.
After entering the terminal, type exit () to exit the Python command line.
After Python is installed successfully, you can simply learn the first code of Python in python interactive environment mode:
C:Users11266 > pythonPython 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32Type "help", "copyright" "credits" or "license" for more information. > > 100room500 # enter valid numbers directly to calculate 600600 > 300-100200 > print ("hello python") # printtext hello python > print ("hello python") # printtext hello python > > exit () # exit interactive command line C:Users11266 > 2.3windows to install VSCode code editor
Download address: https://code.visualstudio.com/
After the installation package is downloaded, double-click the mouse to run it.
After the software is installed, Visual Studio is set to support the Chinese language
First open the Visual Studio software, and then press F1 or Shift + Ctrl + P:
Then type Configure Display Language on the command line
Select the installation language option.
After installation, there is a prompt to restart in the lower right corner, click restart.
Create a new text file with a saved suffix of .py.
Modify the color theme of vscode
The built-in color theme method for changing the color vscode is described below.
At this point, I believe you have a deeper understanding of "how to build a python development environment under windows". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.