Python programming - installation and use of pycharm

Author: Insist--

Personal homepage: insist--personal homepage

This article column: python column

Column introduction: This column is a free column, and will continue to update the basic knowledge of python . Welcome to subscribe and pay attention.

Table of contents

1. The use of python IDLE

 Second, the installation and use of pycharm

1. Install pycharm tutorial:

2. Use pycharm

 


foreword

This article will talk about the use of pycharm and the use of the compiler "IDLE" that comes with python.

1. The use of python IDLE

The way to enter python IDLE: search and enter

Directly search for "IDLE" in the start search bar to enter

 Second, the installation and use of pycharm

1. Install pycharm tutorial:

①Enter the official website to download pycharm.

Pycharm is divided into two versions, " Professional Edition" and "Community Edition" . The biggest difference between the two is that the Professional Edition charges , and the Community Edition does not charge  . We can download the community version for personal use, click "Download" to start the download.

② Start installing pycharm

On the first page, we can directly click "Next" 

The content here probably says: welcome to the pycharm community version, and then I will guide you through the installation

③Select the installation location

Click "Browse" to select the installation location. It is recommended to choose a location other than the c drive.

④Easy setting

 Here is the translation for everyone, check all the boxes, and click "Next". Click and then click "install (installation)" to start the installation.

2. Use pycharm

① Create a new project

Click "New project" to create a new project.

②Set up the newly generated project

As shown above, no explanation is given here. After clicking "create", wait for the installation to install.

③ create python

Right-click the created project, click "New", and then click "python file" to create it. After creation, you can perform corresponding operations within it.

④ Run the code

 After the programming is complete, right-click the blank space and click "Run" to run your project name.

Do not redistribute without permission

Guess you like

Origin blog.csdn.net/m0_73995538/article/details/131055041