Installation and configuration of Python environment

Table of contents

1. Install the operating environment Python

 2. Install the development environment PyCharm

3. Environment configuration


1. Install the operating environment Python

1) Enter the official website

Browser search for Python 

Find the official website, click to enter

 

 

2) Find the download page

After entering the official website, click in order

 

 After clicking, the download status will appear in the lower left corner of the browser

After the download is complete, open it in the folder and an exe file will appear 

3) Double-click the installation package

Double-click the installation package to install Python

It is best to check the "Add Python 3.10 to PATH" option .
Remember the installation directory of Python ( may be used later )

 After clicking Install Now , wait a moment , the following page appears and the installation is complete 

4) run hello world

Find the file at the beginning of the lower left corner of the computer

, click to enter 

 Then came the console window

Just write the information you want to output in it. 

 

Although Python code can be executed through an interactive interpreter , it is not convenient to write code . More professional development tools are needed to write Python code.

 2. Install the development environment PyCharm

1) Find the official website PyCharm

 

2) Enter and exit the home page 

click DOWNLOAD 

3) Download the community edition

Come to the download page

 

 4) Open the folder of the download location, if the exe file appears, the download is successful

5) Double-click the installation package

Pay attention to the installation path

Put the following two √ on

6) Select the interpreter

create a project

The previously installed Python runtime environment software is used as an interpreter

 

 

3. Environment configuration

1) Set the font size

 Find Editor -> Font, and adjust the font Size and Line height appropriately

Size indicates the font size . The larger the number, the larger the text
Line height indicates the line height , the larger the number, the larger the space between two lines of text

 3) Background setting

Go in and choose the background image you like

Guess you like

Origin blog.csdn.net/m0_60494863/article/details/127825223