Python IDLE tool shortcuts

Document editing shortcuts

Alt + / auto-complete codes (lookup code has been written within the editor to completion)

Ctrl + Shift + space completion hints (default input method conflict, modify it)

(方法:Options->configure IDLE…->Keys-> force-open-completions

Just press the space bar when prompted to come out, otherwise turn the arrow keys do not need to press other keys automatically on completion of)

Ctrl + Z Back

Ctrl + Shift + Z Redo

Ctrl +] add indentation

Ctrl + [Save Indent

Alt + 3 to add a comment

Alt + 4 to comment


Module source code

Alt + M Module Browser

Alt + C modular approach browsing

Alt + 5 Alt + 6 handover indented spaces <=> Tab

Alt + F + P package path browse

F1 Open Python documentation


debugging

Alt + DG to locate the error line, press the shortcut keys to quickly locate the error location

Alt + DS directly display the error history, find the root cause, easy ah

Alt + DA if every time pressing, also is not convenient enough, according to this, after all the mistakes of history

Alt + DD open the Debug window, enter the single-step debugging and convenient.

Ctrl + F6 order to empty records foregoing introduction, restart shell


Command ends fast

Alt + N Alt + P input seek command before completion of the current command for


End command View module

help(os)


View function end command

help(print)

Guess you like

Origin blog.51cto.com/13502993/2431282