changeset: 98232:824cb25448ab branch: 3.4 parent: 98225:0f20f3fe7ab4 user: Terry Jan Reedy date: Thu Sep 24 01:39:30 2015 -0400 files: Doc/library/idle.rst description: Issue #22820: Explain need for *print* when running file from Idle editor. diff -r 0f20f3fe7ab4 -r 824cb25448ab Doc/library/idle.rst --- a/Doc/library/idle.rst Wed Sep 23 20:00:33 2015 -0400 +++ b/Doc/library/idle.rst Thu Sep 24 01:39:30 2015 -0400 @@ -206,7 +206,12 @@ 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^