I usually use a lot of vscode and IntelliJ idea of the 2 IDE, so here only the 2 IDE's Python plug-in installation.
There are many other Ides are very good, such as Pycharm, Submittext and so on, interested can go to understand.
1, Vscode
Login https://code.visualstudio.com Download Vscode, the installation process will not say much.
Open Vscode Click the extension button below the left, enter: Python return search, click on the first installation.
Install successfully click the Settings button on the left to configure the Python path
Enter: Python.pythonpath, click the previous "pen" in the results that appear. Then click Copy to Settings
Then enter your Python installation path on the right, with the path containing the Python.exe
Ctrl+s Save the settings.
Create a new. py suffix file in the directory where you normally put the code and open it with Vscode.
Input code
Print (' Hello World ')
Then, on the edit page, right-click on "Run Python file at Terminal". You can run this code.
2. IntelliJ idea
Login https://www.jetbrains.com/idea/Download Idea, it has 2 versions of Ultimate (paid version) and community (free version), with which version can be, pay version can be found online hack tutorial.
Download the installation complete start download Python, if it is in the following interface, click Configure select Settings.
If you have already entered the main interface, click File Select Settings
Select plugins input: Python, this is not the result of the search, click "Search in Repositories" to search results.
Select Python, click Install, pay version is: Python. The free version is: Python Community Edition
Restart idea when you're done installing it.
Click File to open the directory where you normally put the Python code.
Click File->project structure to configure the Python installation directory. Click "New" in the SDK and select "Add local" to choose the Python.exe in this Python installation directory
Then click OK and you're ready to configure.
Now try to build a file.
Click File->new->python file to create a new Python file
In the newly created file, enter
Print (' Hello World ')
Then right-click Run. You can run this code.
?
Python Learning Path (ii): IDE's Python plugin installation