Notepad++python Indent shortcut Run settings

Source: Internet
Author: User

I use the English version of the notepa++ version 7.3.0.0 different languages may be different, reader control

Python is very sensitive to indentation, the tab and space mix may cause errors, it is recommended to change Indent tab all to space

Method:

settings->preference->language-> tick Replace by space

Other default actions do not change

There is no quick run on the command line on notepad++, you need to set it yourself

Method run-> fill in the blanks with cmd/k C:\Python27\python.exe "$ (full_current_path)" &pause&exit

Where to note: 1.python Installation path modification, is the first half; 2. Note the space after the CMD has a space,/k after a, exe after a, after the copy, no space


Related Article

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.