PyCharm is JetBrains Company (www.jetbrains.com) R & D, developed for Python 's IDE development tools. Figure 1 shows a variety of development tools developed by JetBrains, many of which have received critical acclaim tools, these tools can write Python, C / C ++ , C # , DSL, Go, Groovy, the Java , JavaScript , in Objective-C, PHP, etc. Programming language.
Figure 1 JetBrains development tools
PyCharm download and install
Enter PyCharm official download page (Figure 2), you can see PyCharm have two versions, namely Professional (Pro) and Community (Community Edition). Among them, the professional version for a fee, free trial 30 days; whereas Community Edition is completely free.
Figure 2 PyCharm official download page
It is strongly recommended for beginners to use Community Edition, more importantly, this version will not have any impact on learning Python.
According to FIG click on the "Download" button shown in Figure 2, wait for the download to complete. Once downloaded, the reader will get a PyCharm installation package (download in this section is pycharm-community-2019.2.2 version). Double click on the downloaded installation package, started the installation (as shown in Figure 3).
Figure 3 start mounting interface
Directly select "Next", you can see the dialog shown in FIG. 4, there is provided the installation path PyCharm recommended not installed in the system disk (system disk drive is typically C), where E is mounted to select the disk.
FIG installation path 4 provided PyCharm
Continue clicking "Next", there needs some settings, as shown, choose their own desired function according to FIG. 5, if no special needs, according to the figure can be checked;
5 Installation Settings dialog
Continue to click "Next", to reach the dialog box shown in Figure 6, where you can select the default, click "Install", and wait for the installation progress bar reaches 100%, PyCharm installation is complete.
6 Choose Start menu file
It should be noted, first start PyCharm, will be configured PyCharm automated process (select PyCharm explicit interface style, etc.), the reader can be configured according to their preferences, because the configuration process is very simple, it will not give a specific illustration . Readers can also exit, it means that all of the selected default configuration.
Python interpreter arranged PyCharm
PyCharm after first installation is completed, it opens the interface shown below is displayed:
FIG 8 PyCharm initialization interface
In this interface may be manually set to PyCharm Python interpreter. Click Configure options shown in Figure 8, select "Settings", enter the interface shown in Figure 9.
FIG 9 is provided Python interpreter interface
You see, "No interpreter" unset Python interpreter, in this case, as shown in Figure 9, set button click, select "add", will pop up the window shown in Figure 10.
10 Adding Python interpreter interface
As shown in FIG. 10, select "System Interpreter" (in the current system Python interpreter), the right to find the directory you install Python, and find python.exe, and select "OK". In this case an explicit interface will automatically jump to the interface shown in FIG. 9, and shows the available interpreter, 11, again click "OK".
FIG 11 adds Python interpreter interface
Wait PyCharm configuration is successful, it will return to the screen shown in Figure 8 again, thus successfully to PyCharm set up the Python interpreter.