Summary of common idle shortcut keys

Source: Internet
Author: User

Idle (an integrated development environment for Python) is a python compiler that is often used for beginners, beginners, or small programs, or for verification! If you are familiar with its shortcut keys, it will undoubtedly improve work efficiency. The following lists the common shortcut keys:


Alt + 3: multi-line comment

Alt + 4: Cancel multi-line comments

Alt + P: returns the previous command, similar to the up arrow.

Alt + N: returns the next command, similar to the down arrow.

CTRL + [, CTRL +] indent of multi-line code

CTRL + F: Find the specified string

Alt + F4: close windows window

ATL + DD: enables code debugging;

Alt + M: Open the module code. Select the module to view the module source code;

Alt + X: Enter the python shell mode;

Alt + F + P: Open the path browser to conveniently select the imported package for viewing and browsing;

Alt + C: open a browser to facilitate switching between module methods;

F5: Enter the python shell debugging interface;

Tab: the auto-completion function in Python shell mode. Similar to Linux, it is very useful!

F1: returns the python document, which is very convenient to search.

For more information, see Options> Configure idle… In the idle menu bar... -> Keys Tab

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: 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.