Python Tutorial

Python Variable

Python Operators

Python Sequence

Python String

Python Flow Control

Python Functions

Python Class and Object

Python Class Members (properties and methods)

Python Exception Handling

Python Modules

Python File Operations (I/O)

PyCharm Download And Installation Tutorial

PyCharm is an IDE development tool developed by JetBrains for developing Python. The picture below shows a variety of development tools developed by JetBrains, many of which have received rave reviews. These tools can write Python, C/C++, C#, DSL, Go, Groovy, Java, JavaScript, Objective-C, PHP, etc. Programming language.


PyCharm download and installation

Go to the official download page of PyCharm, you can see that there are 2 versions of PyCharm, Professional and Community. Among them, the professional version is charged and can be tried for free for 30 days; while the community version is completely free.


The community edition is highly recommended for beginners, and more importantly, this edition will not have any impact on learning Python.

Click the "Download" button and wait for the download to complete. After the download is complete, the reader will get a PyCharm installation package (the pycharm-community-2019.2.2 version is downloaded in this section). Double-click to open the downloaded installation package and start the installation.


Select "Next" directly, you can see the dialog box shown in the figure below, here is to set the installation path of PyCharm, it is recommended not to install in the system disk (usually C disk is the system disk), here choose to install to E disk.


Continue to click "Next", you need to make some settings here, you can choose the required functions according to the following figure, if there is no special requirement, just click on the figure;


continue to click "Next" to reach the following figure. dialog box, select the default here, click "Install", and wait for the installation progress bar to reach 100%, and the PyCharm installation is complete.


It should be noted that when PyCharm is started for the first time, the process of configuring PyCharm will be automatically performed (select the explicit style of the PyCharm interface, etc.), and readers can configure it according to their own preferences. Since the configuration process is very simple, no specific illustration is given here. The reader can also exit directly, which means that all the default configurations are selected.

PyCharm configures the Python interpreter

After installing PyCharm first, open it and it will display the interface as shown below:


In this interface, you can manually set the Python interpreter for PyCharm. Click the Configure option, select "Settings", and enter the interface shown in the figure below.


As you can see, "No interpreter" means that the Python interpreter is not set. In this case, you can click the Settings button, select "add", and the window shown below will pop up.


Select "System Interpreter", find the Python directory you installed on the right, and find python.exe, then select "OK". At this point, the explicit interface will automatically jump and display the available interpreters, click "OK" again.


This successfully sets up the Python interpreter for PyCharm.