Python Learning Path (ii): IDE's Python plugin installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.