From: Terry Jan Reedy Date: Thu, 24 Sep 2015 05:39:30 +0000 (-0400) Subject: Issue #22820: Explain need for *print* when running file from Idle editor. X-Git-Tag: v3.5.1rc1~282^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b5a981e02a88d29313a66e1a1903392df6e2e2d;p=thirdparty%2FPython%2Fcpython.git Issue #22820: Explain need for *print* when running file from Idle editor. --- diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index bbbeaa2e2f73..c149aa91a35d 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -206,7 +206,12 @@ Check Module Run Module Do Check Module (above). If no error, restart the shell to clean the - environment, then execute the module. + environment, then execute the module. Output is displayed in the Shell + window. Note that output requires use of ``print`` or ``write``. + When execution is complete, the Shell retains focus and displays a prompt. + At this point, one may interactively explore the result of execution. + This is similar to executing a file with ``python -i file`` at a command + line. Shell menu (Shell window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^