-
-

IDLE¶

+
+

IDLE¶

Source code: Lib/idlelib/


IDLE is Python’s Integrated Development and Learning Environment.

@@ -119,8 +218,8 @@ through multiple files (grep)

of global and local namespaces

  • configuration, browsers, and other dialogs

  • - -
    -

    Format menu (Editor window only)¶

    +
    +
    +

    Format menu (Editor window only)¶

    Indent Region

    Shift selected lines right by the indent width (default 4 spaces).

    @@ -249,9 +348,9 @@ including lines within multiline strings. Except for Shell windows, remove extra newlines at the end of the file.

    -
    -
    -

    Run menu (Editor window only)¶

    + +
    +

    Run menu (Editor window only)¶

    Run Module

    Do Check Module. If no error, restart the shell to clean the environment, then execute the module. Output is displayed in the Shell @@ -280,9 +379,9 @@ Editor window.

    Python Shell

    Open or wake up the Python Shell window.

    -
    -
    -

    Shell menu (Shell window only)¶

    + +
    +

    Shell menu (Shell window only)¶

    View Last Restart

    Scroll the shell window to the last Shell restart.

    @@ -295,9 +394,9 @@ Editor window.

    Interrupt Execution

    Stop a running program.

    -
    -
    -

    Debug menu (Shell window only)¶

    + +
    +

    Debug menu (Shell window only)¶

    Go to File/Line

    Look on the current line. with the cursor, and the line above for a filename and line number. If found, open the file if not already open, and show the @@ -317,9 +416,9 @@ access to locals and globals.

    Auto-open Stack Viewer

    Toggle automatically opening the stack viewer on an unhandled exception.

    -
    -
    -

    Options menu (Shell and Editor)¶

    + +
    +

    Options menu (Shell and Editor)¶

    Configure IDLE

    Open a configuration dialog and change preferences for the following: fonts, indentation, keybindings, text color themes, startup windows and @@ -349,14 +448,14 @@ Changing screen settings may invalidate the saved height. This toggle has no effect when a window is maximized.

    -
    -
    -

    Window menu (Shell and Editor)¶

    + +
    +

    Window menu (Shell and Editor)¶

    Lists the names of all open windows; select one to bring it to the foreground (deiconifying it if necessary).

    -
    -
    -

    Help menu (Shell and Editor)¶

    + +
    +

    Help menu (Shell and Editor)¶

    About IDLE

    Display version, copyright, license, credits, and more.

    @@ -372,9 +471,9 @@ and open docs.python.org showing the latest Python documentation.

    Additional help sources may be added here with the Configure IDLE dialog under the General tab. See the Help sources subsection below for more on Help menu choices.

    -
    -
    -

    Context Menus¶

    + +
    +

    Context menus¶

    Open a context menu by right-clicking in a window (Control-click on macOS). Context menus have the standard clipboard functions also on the Edit menu.

    @@ -407,12 +506,12 @@ Shell window subsection below.

    the code above and the prompt below down to a ‘Squeezed text’ label.

    -
    -