Python idle shortcut keys at a glance

Source: Internet
Author: User

When editing a state:
CTRL + [, CTRL +] indent code
Alt+3 alt+4 Comment, uncomment the line of code
alt+5 alt+6 Toggle Indent mode space <=>tab
alt+/word completion, as long as the text appears, you can help you automatically complete. Press multiple times to cycle through the selection
Alt+m Open the module code, first select the module, and then press this shortcut, will help you open the module of the PY source for browsing
Alt+c open the class browser to facilitate switching between the various method bodies in the source file
ALT+FP Open Path Browser, easy to select Import package for viewing and browsing
F1 Open python document, more convenient than editplus, do not set up, hehe.

It is worth noting that ctrl+space this shortcut key and the Windows Input Method switch hotkey conflict, it does not matter, when you really need to prompt to stop, there will still be a code hint. Other commonly used shortcut keys just follow the habit of good.

During the editing process, press F5 to enter Shell debugging. There are also shortcut keys in the shell, which are also convenient
ALT+DG to the error line first, press this shortcut to quickly navigate to the wrong location
Alt+ds directly show the error history, find the source, convenient AH
Alt+da if every time to press, is not convenient, press this, after the mistakes are history
ALT+DD Open the Debugging window, enter the single-step debugging, convenient.
Ctrl+f6 to empty the previous import record, and so on, restart the shell
It's also worth noting that

Alt+n Alt+p can find previously entered commands to complement the current command
CTRL + ARROW keys can be enhanced, try the Spirit (4490).

Python idle shortcut keys at a glance

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.