You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Lib/idlelib/help.html
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -664,7 +664,7 @@ <h3>Shell window<a class="headerlink" href="#shell-window" title="Permalink to t
664
664
One may edit pasted code first.
665
665
If one pastes more than one statement into Shell, the result will be a
666
666
<aclass="reference internal" href="exceptions.html#SyntaxError" title="SyntaxError"><codeclass="xref py py-exc docutils literal notranslate"><spanclass="pre">SyntaxError</span></code></a> when multiple statements are compiled as if they were one.</p>
667
-
<p>Lines containing`’RESTART’` mean that the user execution process has been
667
+
<p>Lines containing<codeclass="docutils literal notranslate"><spanclass="pre">RESTART</span></code> mean that the user execution process has been
668
668
re-started. This occurs when the user execution process has crashed,
669
669
when one requests a restart on the Shell menu, or when one runs code
670
670
in an editor window.</p>
@@ -821,7 +821,9 @@ <h3>Running user code<a class="headerlink" href="#running-user-code" title="Perm
821
821
created in the execution process, whether directly by user code or by
822
822
modules such as multiprocessing. If such subprocess use <codeclass="docutils literal notranslate"><spanclass="pre">input</span></code> from
823
823
sys.stdin or <codeclass="docutils literal notranslate"><spanclass="pre">print</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">write</span></code> to sys.stdout or sys.stderr,
824
-
IDLE should be started in a command line window. The secondary subprocess
824
+
IDLE should be started in a command line window. (On Windows,
825
+
use <codeclass="docutils literal notranslate"><spanclass="pre">python</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">py</span></code> rather than <codeclass="docutils literal notranslate"><spanclass="pre">pythonw</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">pyw</span></code>.)
826
+
The secondary subprocess
825
827
will then be attached to that window for input and output.</p>
826
828
<p>If <codeclass="docutils literal notranslate"><spanclass="pre">sys</span></code> is reset by user code, such as with <codeclass="docutils literal notranslate"><spanclass="pre">importlib.reload(sys)</span></code>,
827
829
IDLE’s changes are lost and input from the keyboard and output to the screen
0 commit comments