PyCharm Community tool installation and use under Mac
1. Tool name
Development toolsPyCharm Community Version:2022.1
2. Download and installation channels
PyCharm Community 2022.1 can be downloaded and installed through the Yuan Ruyi official website.
2.1 What is Yuan Ruyi
Yuan Ruyi is an auxiliary development toolbox for developers, including functional modules such as efficiency tools, development tool downloads, tutorial documents, code snippet search, and network-wide search. Help developers improve development efficiency and help you find "answers" from "questions".
Yuanruyi official website tool download supports multi-platform client windows, mac, linux.
2.2 Yuan Ruyi address
Log in to the home page of Yuan Ruyi's official website address https://devbit.csdn.net to download various high-end development tools. Open the homepage as shown below:
2.3 How to download software in Yuanruyi
1. After entering the official website of Yuan Ruyi, switch to the "Development Tools" tab in the upper menu bar, as shown in the figure below:
2. Find Python in the open tab, and then find PyCharm Community in the displayed tool list.
3. Click "Install", if the "Ape Ruyi" app is not installed, then jump to the tool interface, as follows:
4. Execute "Run" on the tool interface to download the "Ape Ruyi" app.
5. After the download is complete, double-click to install Ape Ruyi.
6. After the "Ape Ruyi" app is installed, it will automatically open the app, and then make a selection as shown below.
7. After the download is complete, click "File" to jump to the downloaded directory and remember the path.
3. Tool introduction
3.1 Definition
PyCharm is a Python IDE (Integrated Development Environment) that comes with a set of tools that can help users improve their efficiency when developing in the Python language, such as debugging, syntax highlighting, project management, code jumping, and smart prompts. , automatic completion, unit testing, version control. In addition, the IDE provides some advanced features to support professional web development under the Django framework.
3.2 Source
PyCharm is a Python IDE created by JetBrains, and Resharper, the refactoring plug-in for VS2010, is created by JetBrains. Also supports Google App Engine, PyCharm supports IronPython. These features, backed by advanced code analysis programs, make PyCharm a powerful tool for both professional Python developers and those just starting out.
3.3 Functional features
First of all, PyCharm has the functions that general IDEs have, such as debugging, syntax highlighting, project management, code jumps, smart prompts, auto-completion, unit testing, version control. In addition, PyCharm also provides some good functions for
Django Development, while supporting Google App Engine, what's even cooler is that PyCharm supports IronPython.
3.4 Main functions
1. Coding assistance
2. Project code navigation
3. Code analysis
4. Refactoring
5. Support Django
6. Support Google App Engine
7. Integrated version control
8. Graphical page debugger 9.
Integrated unit testing
10. Customizable & Scalable
4. Installation steps
Find the tool file in the downloaded directory.
1. Double-click the downloaded tool file, and the following will pop up:
2. Press and hold the left mouse button on the left icon in the pop-up window in the previous step, and then drag it to the Applications on the right.
3. After the previous step is completed, you can check whether the installation is successful in the "Applications". If the following appears, it means the installation is successful.
5. Instructions for use and feelings
5.1 Create a new project or open an existing project
1. Double-click the icon after installation. When it pops up, select red box 1 to create a new project, and select 2 to open an existing project. 2. The following
pops up. On the left is the path to the opened project file.
3. Set the Python compiler version
4. Enter interpreter in 1 in the pop-up box, then look for the path of the local python installation on the right and find the path / of the python executable file.
5.2 Remotely connect to the server to open the project
1. Set the remote server information.
First, find "Tools" in the menu bar, follow the picture below, and click "Configuration."
Secondly, configure the configuration in the pop-up interface, click the + sign in the upper left corner, and fill in the relevant information.
When setting the SSH configuration item, click... This will pop up the following box 2 for setting.
Click Test Connection to perform a connectivity test, then click OK in the lower right corner to complete this setting, and then return to the previous setting page.
1 means the display echo of the previous setting, and 2 can manually set the path or click "Autodetect" on the right to automatically detect the path.
Finally, click OK in the lower right corner to complete the setting.
2. Open the remote server information, similar to the configuration menu path, select "Browse Remote Host", and the right part will pop up in the window.
As shown in the figure below, the remote server connection is completed.
Remember, after the remote service is connected, you must click Upload to the server after the file is modified, so that the modified file can take effect on the server.