diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-24 05:39:30 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-24 05:39:30 (GMT) |
commit | 8b5a981e02a88d29313a66e1a1903392df6e2e2d (patch) | |
tree | 0349a2104d47eb8924d33ac2e312d8920012d103 /Doc/library | |
parent | 6e10ec5367f890a0bf4a66157bee93570a99d21b (diff) | |
download | cpython-8b5a981e02a88d29313a66e1a1903392df6e2e2d.zip cpython-8b5a981e02a88d29313a66e1a1903392df6e2e2d.tar.gz cpython-8b5a981e02a88d29313a66e1a1903392df6e2e2d.tar.bz2 |
Issue #22820: Explain need for *print* when running file from Idle editor.
Diffstat (limited to 'Doc/library')
-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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |