diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-24 05:39:25 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-24 05:39:25 (GMT) |
commit | cf5bf82e59c7436ec0af6a7e2771bf1208d4a71b (patch) | |
tree | ef0d8de1a4e96f66da3c82297e1a45b11b81df9d /Doc/library/idle.rst | |
parent | 2bc50d78e3065cb5a78c528af3ae6fc0d60c34a5 (diff) | |
download | cpython-cf5bf82e59c7436ec0af6a7e2771bf1208d4a71b.zip cpython-cf5bf82e59c7436ec0af6a7e2771bf1208d4a71b.tar.gz cpython-cf5bf82e59c7436ec0af6a7e2771bf1208d4a71b.tar.bz2 |
Issue #22820: Explain need for *print* when running file from Idle editor.
Diffstat (limited to 'Doc/library/idle.rst')
-rw-r--r-- | Doc/library/idle.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index bbbeaa2..c149aa9 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |