changeset: 98231:e7bf0727f7df branch: 2.7 parent: 98229:e2f1f69d0618 user: Terry Jan Reedy date: Thu Sep 24 01:39:25 2015 -0400 files: Doc/library/idle.rst Lib/idlelib/help.html description: Issue #22820: Explain need for *print* when running file from Idle editor. diff -r e2f1f69d0618 -r e7bf0727f7df Doc/library/idle.rst --- a/Doc/library/idle.rst Thu Sep 24 00:19:42 2015 +0000 +++ b/Doc/library/idle.rst Thu Sep 24 01:39:25 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff -r e2f1f69d0618 -r e7bf0727f7df Lib/idlelib/help.html --- a/Lib/idlelib/help.html Thu Sep 24 00:19:42 2015 +0000 +++ b/Lib/idlelib/help.html Thu Sep 24 01:39:25 2015 -0400 @@ -223,7 +223,12 @@ Editor window.
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.
@@ -676,7 +681,7 @@ The Python Software Foundation is a non-profit corporation. Please donate.
- Last updated on Sep 23, 2015. + Last updated on Sep 24, 2015. Found a bug?
Created using Sphinx 1.2.3.