How does the VS Code python work?

Source: Internet
Author: User
I used to write Python code using notepad++, and then I remembered that there was a vs code that could write some scripting language (js,node.js) or even a high-level programming language (C#,php,java,python, etc.) before I looked up the data. And this is Microsoft's own write, this has aroused my strong interest, checked the next vs code found that this thing is good, and is widely loved by programmers, not only to run the program written on Windows, but also to run on the Mac,linux platform, and open source (this from the side of Microsoft's huge changes, its open source power is really not seen before, I am looking forward to Microsoft's Open Source Framework ASP.), to be perfect, to study hard, hoping to have enough market in China, but China's national conditions do not know whether to let. NET Core shine. Finally feel it!
Microsoft vs Code The new version is 1.12 This version with the previous version of The Gap, the original Tasks.json changed to Setting.json. And the user settings are merged with the workspace settings.
Check the information, can only say that a dazzling, oneself picked two, you can look:



According to the above two link configuration installation, can be configured completely, I will not talk about some of their own experience:
Python.pythonpath to configure is the path to the Python package you downloaded yourself ....
I don't know if you found it, there are always green and red wavy lines:


But the code is not wrong, and still can run normally, and no error! This is very pit AH!! I repeated the two sides vs code, reinstall is useless, and later thought might be linting (that is, language analysis) problem, then I followed the prompts to reconfigure the following code layout:
Therefore, the error here is not the problem of code, but pylint this kind of language analysis plug-in problem, change the layout is good, so in order to avoid this nice syntax parsing error error, we set to ignore it (today a bit late, tomorrow study ...) )。 Here's another problem to be solved:

This is embarrassing, the debug module has two Python. Yet to be resolved ....

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.