PyCharm integrated development environment installation, startup and settings

As a non-development engineer, everyone is more or less resistant to programming. In fact, there is no need to be too "wary" of Python. Just use Python as one of your tools. ——Zuckerberg

1. Definition of Python:

Python is a high-level scripting language that combines interpretation, compilation, interactive and object-oriented scripting. Python is designed to be highly readable. Compared with other languages, it often uses English keywords and some punctuation marks in other languages. It has a more distinctive grammatical structure than other languages.

2. Python language features:

①Simple syntax: Python is a language that represents simplicity . Reading a good Python program feels like reading English. It allows you to focus on solving problems rather than figuring out the language itself.

②Cross-platform: Python language can be used in window systems, mac systems and Linux systems.

③Extensibility: C++ and C language libraries can be expanded to provide scripts to users.

④ Free and open source: You can freely distribute copies of this software, read its source code , make changes to it, and use part of it in new free software.

⑤ Rich class libraries: In addition to the fully functional standard library, Python also has many other high-quality libraries, such as wxPython, Twisted, and Python image libraries.

3. Python compiler environment installation

1. Download the python version from the python official website ( www.python.org). The version used this time is Python 3.10.5

picture.png

2. Start the installation package and check [Add Python 3.7 to PATH] on the home page of the installation wizard. If you forget to check it, you will need to add the Python compiler environment to the system environment variables later; it is still strongly recommended to choose a custom path for installation. method, click [Customize installation].

Picture 1.png

3. After selecting the custom path installation method, you will come to the "Custom Configuration" interface. The default is to select all features, so just click the [Next] button.

Picture 2.png

4. First, check [Install for all users]; then, set the installation path, and finally, click [Install] to install.

Picture 3.png

5. Installing. . . . . .

Picture 4.png

6. Installation successful

Picture 5.png

7. Enter cmd and enter the python command to verify whether the environment is installed successfully. If successful, the Python version number is displayed.

Picture 6.png

4. Installation, startup and settings of PyCharm integrated development environment

Every development language requires an integrated development environment. The full name in English is "Integrated Development Environment", and the abbreviation is the familiar "IDE". PyCharm is recognized as the best IDE for Python development language, with the highest market share. ! The company that developed this IDE tool is called JetBrains, a Russian company that has developed many famous IDE and plug-in tools.

Any development language needs a reliable integrated development environment as a partner, because it needs to write code beautifully, compile "English + numbers + (Chinese characters)" code so that the computer can understand it, etc. The following is the process of installing the PyCharm IDE.
1. Official website download: www.jetbrains.com/pycharm/dow...Official website address, the professional version is paid, and the community version is free. The functions of the community version are sufficient for novices. We will download the community version here.

Picture 7.png

2. Start the installation package, go to the home page of the installation wizard, and click [Next]

Picture 8.png

2. Install using the default installation path and click [Next]

Picture 9.png

4. In the installation configuration interface, all 4 options are checked by default.

Picture 10.png

5. Continue to click [Next] until the software is installed. You need to restart the computer, or you can restart it later (it is not a big problem). Click [Finish] to close the "Installation Completed" interface.

Picture 11.png

6. Double-click the PyCharm icon on the desktop to start the IDE software. When starting for the first time, there will be a window to import "Software Settings". Under normal circumstances, it is the same. If the "Data Sharing" interface appears on the computer, it is recommended to click [Don't Send] not to share the data. Click [Create New Project] to create a new project

Picture 12.png

7. Before creating a new project, first configure the Python interpreter so that the PyCharm IDE can "recognize" English, letters, symbols and (Chinese characters) written using Python syntax; see the numbers in the figure below for specific configuration steps .

Picture 13.png

8. Set the directory location of the Python project. You can create a "large folder" according to your personal needs, such as D:\xu_python_project in the figure below. Click [OK] to complete the change of the project directory location.

Picture 14.png

9. When this page appears, it means that pycharm has been successfully installed.

Picture 15.png

  • Installation and configuration completed

Guess you like

Origin blog.csdn.net/m0_65909361/article/details/132791170