Lines Matching +full:python3 +full:- +full:docutils
6 <meta charset="utf-8" />
7 …iewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutil…
9 ….12.0a0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
14 …<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"><…
39 table.full-width-table {
50 <div class="mobile-nav">
51 <input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
52 aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu" />
56 <nav class="nav-content" role="navigation">
57 <a href="https://www.python.org/" class="nav-logo">
62 … xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
63 <path fill-rule="nonzero"
64 …-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 …
66 <input type="text" name="q" aria-label="Quick search"/>
70 <div class="menu-wrapper">
71 <nav class="menu" role="navigation" aria-label="main navigation">
78 <li><a class="reference internal" href="#file-menu-shell-and-editor">File menu (Shell and Editor)</…
79 <li><a class="reference internal" href="#edit-menu-shell-and-editor">Edit menu (Shell and Editor)</…
80 <li><a class="reference internal" href="#format-menu-editor-window-only">Format menu (Editor window…
81 <li><a class="reference internal" href="#run-menu-editor-window-only">Run menu (Editor window only)…
82 <li><a class="reference internal" href="#shell-menu-shell-window-only">Shell menu (Shell window onl…
83 <li><a class="reference internal" href="#debug-menu-shell-window-only">Debug menu (Shell window onl…
84 <li><a class="reference internal" href="#options-menu-shell-and-editor">Options menu (Shell and Edi…
85 <li><a class="reference internal" href="#window-menu-shell-and-editor">Window menu (Shell and Edito…
86 <li><a class="reference internal" href="#help-menu-shell-and-editor">Help menu (Shell and Editor)</…
87 <li><a class="reference internal" href="#context-menus">Context menus</a></li>
90 <li><a class="reference internal" href="#editing-and-navigation">Editing and Navigation</a><ul>
91 <li><a class="reference internal" href="#editor-windows">Editor windows</a></li>
92 <li><a class="reference internal" href="#key-bindings">Key bindings</a></li>
93 <li><a class="reference internal" href="#automatic-indentation">Automatic indentation</a></li>
94 <li><a class="reference internal" href="#search-and-replace">Search and Replace</a></li>
97 <li><a class="reference internal" href="#code-context">Code Context</a></li>
98 <li><a class="reference internal" href="#shell-window">Shell window</a></li>
99 <li><a class="reference internal" href="#text-colors">Text colors</a></li>
102 <li><a class="reference internal" href="#startup-and-code-execution">Startup and Code Execution</a>…
103 <li><a class="reference internal" href="#command-line-usage">Command line usage</a></li>
104 <li><a class="reference internal" href="#startup-failure">Startup failure</a></li>
105 <li><a class="reference internal" href="#running-user-code">Running user code</a></li>
106 <li><a class="reference internal" href="#user-output-in-shell">User output in Shell</a></li>
107 <li><a class="reference internal" href="#developing-tkinter-applications">Developing tkinter applic…
108 <li><a class="reference internal" href="#running-without-a-subprocess">Running without a subprocess…
111 <li><a class="reference internal" href="#help-and-preferences">Help and Preferences</a><ul>
112 <li><a class="reference internal" href="#help-sources">Help sources</a></li>
113 <li><a class="reference internal" href="#setting-preferences">Setting preferences</a></li>
114 <li><a class="reference internal" href="#idle-on-macos">IDLE on macOS</a></li>
118 <li><a class="reference internal" href="#module-idlelib">idlelib</a></li>
127 …title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pr…
134 <div role="note" aria-label="source link">
136 <ul class="this-page-menu">
150 <div class="related" role="navigation" aria-label="related navigation">
153 <li class="right" style="margin-right: 10px">
157 <a href="../py-modindex.html" title="Python Module Index"
166 …<img src="../_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/><…
175 <li id="cpython-language-and-version">
179 … <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> »</li>
180 …<li class="nav-item nav-item-2"><a href="tk.html" accesskey="U">Graphical User Interfaces with Tk<…
181 <li class="nav-item nav-item-this"><a href="">IDLE</a></li>
185 <div class="inline-search" role="search">
186 <form class="inline-search" action="../search.html" method="get">
187 <input placeholder="Quick search" aria-label="Quick search" type="text" name="q" />
207 <hr class="docutils" id="index-0" />
211 …"tkinter.html#module-tkinter" title="tkinter: Interface to Tcl/Tk for graphical user interfaces"><…
212 <li><p>cross-platform: works mostly the same on Windows, Unix, and macOS</p></li>
215 <li><p>multi-window text editor with multiple undo, Python colorizing,
235 <section id="file-menu-shell-and-editor">
236 <h3>File menu (Shell and Editor)<a class="headerlink" href="#file-menu-shell-and-editor" title="Per…
247 <dl class="simple" id="index-1">
271 …ution). Calling <code class="docutils literal notranslate"><span class="pre">exit()</span></code>…
278 <section id="edit-menu-shell-and-editor">
279 <h3>Edit menu (Shell and Editor)<a class="headerlink" href="#edit-menu-shell-and-editor" title="Per…
288 <dt>Cut</dt><dd><p>Copy selection into the system-wide clipboard; then delete the selection.</p>
290 <dt>Copy</dt><dd><p>Copy selection into the system-wide clipboard.</p>
292 <dt>Paste</dt><dd><p>Insert contents of the system-wide clipboard into the current window.</p>
305 <dt>Replace…</dt><dd><p>Open a search-and-replace dialog.</p>
312 <a class="reference internal" href="#completions"><span class="std std-ref">Completions</span></a> …
318 function parameter hints. See <a class="reference internal" href="#calltips"><span class="std std-…
325 <section id="format-menu-editor-window-only">
326 <span id="format-menu"></span><h3>Format menu (Editor window only)<a class="headerlink" href="#form…
328 <dt>Format Paragraph</dt><dd><p>Reformat the current blank-line-delimited paragraph in comment bloc…
351 non-whitespace character of a line by applying str.rstrip to each line,
357 <section id="run-menu-editor-window-only">
358 <span id="index-2"></span><h3>Run menu (Editor window only)<a class="headerlink" href="#run-menu-ed…
359 <dl class="simple" id="run-module">
360 …dule</dt><dd><p>Do <a class="reference internal" href="#check-module"><span class="std std-ref">Ch…
362 … requires use of <code class="docutils literal notranslate"><span class="pre">print</span></code> …
365 … executing a file with <code class="docutils literal notranslate"><span class="pre">python</span> …
369 <dl class="simple" id="run-custom">
370 …d</dt><dd><p>Same as <a class="reference internal" href="#run-module"><span class="std std-ref">Ru…
371 …al" href="sys.html#sys.argv" title="sys.argv"><code class="xref py py-data docutils literal notran…
375 <dl class="simple" id="check-module">
383 <dl class="simple" id="python-shell">
388 <section id="shell-menu-shell-window-only">
389 <h3>Shell menu (Shell window only)<a class="headerlink" href="#shell-menu-shell-window-only" title=…
403 <section id="debug-menu-shell-window-only">
404 <h3>Debug menu (Shell window only)<a class="headerlink" href="#debug-menu-shell-window-only" title=…
413 <dl class="simple" id="index-3">
421 <dt>Auto-open Stack Viewer</dt><dd><p>Toggle automatically opening the stack viewer on an unhandled…
425 <section id="options-menu-shell-and-editor">
426 <h3>Options menu (Shell and Editor)<a class="headerlink" href="#options-menu-shell-and-editor" titl…
433 <a class="reference internal" href="#preferences"><span class="std std-ref">Setting preferences</sp…
441 <a class="reference internal" href="#code-context"><span class="std std-ref">Code Context</span></a…
446 preferences (see <a class="reference internal" href="#preferences"><span class="std std-ref">Settin…
457 <section id="window-menu-shell-and-editor">
458 <h3>Window menu (Shell and Editor)<a class="headerlink" href="#window-menu-shell-and-editor" title=…
462 <section id="help-menu-shell-and-editor">
463 <h3>Help menu (Shell and Editor)<a class="headerlink" href="#help-menu-shell-and-editor" title="Per…
477 the General tab. See the <a class="reference internal" href="#help-sources"><span class="std std-re…
480 <section id="context-menus">
481 <span id="index-4"></span><h3>Context menus<a class="headerlink" href="#context-menus" title="Perma…
482 <p>Open a context menu by right-clicking in a window (Control-click on macOS).
485 <dt>Cut</dt><dd><p>Copy selection into the system-wide clipboard; then delete the selection.</p>
487 <dt>Copy</dt><dd><p>Copy selection into the system-wide clipboard.</p>
489 <dt>Paste</dt><dd><p>Insert contents of the system-wide clipboard into the current window.</p>
494 debugger. Breakpoints for a file are saved in the user’s <code class="docutils literal notranslate…
516 <section id="editing-and-navigation">
517 <span id="id2"></span><h2>Editing and Navigation<a class="headerlink" href="#editing-and-navigation…
518 <section id="editor-windows">
519 <h3>Editor windows<a class="headerlink" href="#editor-windows" title="Permalink to this heading">¶<…
530 <section id="key-bindings">
531 <h3>Key bindings<a class="headerlink" href="#key-bindings" title="Permalink to this heading">¶</a><…
532 <p>In this section, ‘C’ refers to the <kbd class="kbd docutils literal notranslate">Control</kbd> k…
533 the <kbd class="kbd docutils literal notranslate">Command</kbd> key on macOS.</p>
535 <li><p><kbd class="kbd docutils literal notranslate">Backspace</kbd> deletes to the left; <kbd clas…
536 …docutils literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kb…
537 …docutils literal notranslate">Page Up</kbd>/<kbd class="kbd compound docutils literal notranslate"…
538 …docutils literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kb…
539 <li><p><kbd class="kbd docutils literal notranslate">Home</kbd>/<kbd class="kbd docutils literal no…
540 …docutils literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kb…
544 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
545 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
546 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
547 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
548 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
550 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
552 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
554 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
559 …docutils literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kb…
562 <section id="automatic-indentation">
563 <h3>Automatic indentation<a class="headerlink" href="#automatic-indentation" title="Permalink to th…
564 <p>After a block-opening statement, the next line is indented by 4 spaces (in the
566 the next line is dedented. In leading indentation, <kbd class="kbd docutils literal notranslate">B…
567 to 4 spaces if they are there. <kbd class="kbd docutils literal notranslate">Tab</kbd> inserts spac…
571 <a class="reference internal" href="#format-menu"><span class="std std-ref">Format menu</span></a>.…
573 <section id="search-and-replace">
574 <h3>Search and Replace<a class="headerlink" href="#search-and-replace" title="Permalink to this hea…
577 terminal newline removed. If <code class="docutils literal notranslate"><span class="pre">[x]</spa…
587 …ting characters; by hitting <kbd class="kbd docutils literal notranslate">Up</kbd>, <kbd class="kb…
588 …docutils literal notranslate">PageUp</kbd>, <kbd class="kbd docutils literal notranslate">PageDown…
589 and by a single click within the box. Close the box with <kbd class="kbd docutils literal notransl…
590 <kbd class="kbd docutils literal notranslate">Enter</kbd>, and double <kbd class="kbd docutils lite…
597 …nternal" href="os.html#os.sep" title="os.sep"><code class="xref py py-data docutils literal notran…
598 …l" href="os.html#os.altsep" title="os.altsep"><code class="xref py py-data docutils literal notran…
603 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
608 <p>Hitting <kbd class="kbd docutils literal notranslate">Tab</kbd> after a prefix usually has the s…
612 <p>Invoking ‘Show Completions’, or hitting <kbd class="kbd docutils literal notranslate">Tab</kbd> …
614 keywords, builtin names, and available module-level names.</p>
616 available module-level names by running your code
626 <p>A calltip is shown automatically when one types <kbd class="kbd docutils literal notranslate">(<…
629 is moved out of the argument area, or <kbd class="kbd docutils literal notranslate">)</kbd> is type…
633 the latter’s first blank line or the fifth non-blank line. (Some builtin
640 <p>For example, restart the Shell and enter <code class="docutils literal notranslate"><span class=…
642 use. (This could change.) Enter <code class="docutils literal notranslate"><span class="pre">turt…
644 … class="docutils literal notranslate"><span class="pre">import</span> <span class="pre">turtle</sp…
650 <section id="code-context">
651 <span id="id5"></span><h3>Code Context<a class="headerlink" href="#code-context" title="Permalink t…
655 …docutils literal notranslate"><span class="pre">class</span></code>, <code class="docutils literal…
665 <section id="shell-window">
666 <h3>Shell window<a class="headerlink" href="#shell-window" title="Permalink to this heading">¶</a><…
669 <p>Submit a single-line statement for execution by hitting <kbd class="kbd docutils literal notrans…
671 Backslash (<kbd class="kbd docutils literal notranslate">\</kbd>), the cursor must be on the last p…
672 Submit a multi-line compound statement by entering a blank line after
675 until one hits <kbd class="kbd docutils literal notranslate">Return</kbd>, as specified above.
678 …ceptions.html#SyntaxError" title="SyntaxError"><code class="xref py py-exc docutils literal notran…
679 <p>Lines containing <code class="docutils literal notranslate"><span class="pre">RESTART</span></co…
680 re-started. This occurs when the user execution process has crashed,
686 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
687 …docutils literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kb…
688 … class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">A…
691 … class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">A…
692 …d class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">…
693 …docutils literal notranslate"><kbd class="kbd docutils literal notranslate">Alt</kbd>-<kbd class="…
694 <li><p><kbd class="kbd docutils literal notranslate">Return</kbd> while the cursor is on any previo…
700 <section id="text-colors">
701 <h3>Text colors<a class="headerlink" href="#text-colors" title="Permalink to this heading">¶</a></h…
705 keywords, builtin class and function names, names following <code class="docutils literal notransla…
706 <code class="docutils literal notranslate"><span class="pre">def</span></code>, strings, and commen…
708 …-keywords"><span class="std std-ref">soft keywords</span></a> <a class="reference internal" href="…
709 …-keyword docutils literal notranslate"><span class="pre">case</span></code></a>, and <a class="ref…
710 pattern-matching statements. However, this highlighting is not perfect and
711 …s, including some <code class="docutils literal notranslate"><span class="pre">_</span></code>-s i…
716 text in popups and dialogs is not user-configurable.</p>
719 <section id="startup-and-code-execution">
720 <h2>Startup and Code Execution<a class="headerlink" href="#startup-and-code-execution" title="Perma…
721 <p>Upon startup with the <code class="docutils literal notranslate"><span class="pre">-s</span></co…
722 …-5"></span><code class="xref std std-envvar docutils literal notranslate"><span class="pre">IDLEST…
723 …st checks for <code class="docutils literal notranslate"><span class="pre">IDLESTARTUP</span></cod…
724 referenced is run. If <code class="docutils literal notranslate"><span class="pre">IDLESTARTUP</sp…
725 <code class="docutils literal notranslate"><span class="pre">PYTHONSTARTUP</span></code>. Files re…
728 <p>In addition, <code class="docutils literal notranslate"><span class="pre">Tk</span></code> also …
729 Tk file is loaded unconditionally. This additional file is <code class="docutils literal notransla…
733 <section id="command-line-usage">
734 <h3>Command line usage<a class="headerlink" href="#command-line-usage" title="Permalink to this hea…
735 …s="highlight-none notranslate"><div class="highlight"><pre><span></span>idle.py [-c command] [-d] …
737 -c command run command in the shell window
738 -d enable debugger and open shell window
739 -e open editor window
740 -h print help message with legal combinations and exit
741 -i open shell window
742 -r file run file in shell window
743 -s run $IDLESTARTUP or $PYTHONSTARTUP first, in shell window
744 -t title set title of shell window
745 - run stdin in shell (- must be last option before args)
750 …docutils literal notranslate"><span class="pre">-</span></code>, <code class="docutils literal not…
751 …docutils literal notranslate"><span class="pre">sys.argv[1:...]</span></code> and <code class="doc…
752 or <code class="docutils literal notranslate"><span class="pre">'-r'</span></code>. No editor wind…
755 <code class="docutils literal notranslate"><span class="pre">sys.argv</span></code> reflects the ar…
758 <section id="startup-failure">
759 <h3>Startup failure<a class="headerlink" href="#startup-failure" title="Permalink to this heading">…
764 usually displays a <code class="docutils literal notranslate"><span class="pre">Tk</span></code> er…
769 with <code class="docutils literal notranslate"><span class="pre">**</span> <span class="pre">Inval…
770 The valid value is <code class="docutils literal notranslate"><span class="pre">127.0.0.1</span> <s…
771 …ne can diagnose with <code class="docutils literal notranslate"><span class="pre">tcpconnect</span…
772 terminal window and <code class="docutils literal notranslate"><span class="pre">tcplisten</span> <…
773 <p>A common cause of failure is a user-written file with the same name as a
782 ports. A similar problem is a network mis-configuration that blocks
790 initiated by a program crash or Keyboard Interrupt (control-C) may fail
794 <code class="docutils literal notranslate"><span class="pre">~/.idlerc/</span></code> (~ is one’s h…
801 …a console or terminal (<code class="docutils literal notranslate"><span class="pre">python</span> …
803 <p>On Unix-based systems with tcl/tk older than <code class="docutils literal notranslate"><span cl…
804 <code class="docutils literal notranslate"><span class="pre">About</span> <span class="pre">IDLE</s…
808 then re-configure IDLE to use a font that works better.</p>
810 <section id="running-user-code">
811 <h3>Running user code<a class="headerlink" href="#running-user-code" title="Permalink to this headi…
814 directly with Python in a text-mode system console or terminal window.
816 visible results. For instance, <code class="docutils literal notranslate"><span class="pre">sys.mo…
817 and <code class="docutils literal notranslate"><span class="pre">threading.active_count()</span></c…
820 …docutils literal notranslate"><span class="pre">sys.stdin</span></code>, <code class="docutils lit…
822 …ues stored in <code class="docutils literal notranslate"><span class="pre">sys.__stdin__</span></c…
823 <code class="docutils literal notranslate"><span class="pre">sys.__stderr__</span></code> are not t…
831 …ref="stdtypes.html#str.join" title="str.join"><code class="xref py py-meth docutils literal notran…
834 modules such as multiprocessing. If such subprocess use <code class="docutils literal notranslate"…
835 sys.stdin or <code class="docutils literal notranslate"><span class="pre">print</span></code> or <c…
837 …docutils literal notranslate"><span class="pre">python</span></code> or <code class="docutils lite…
840 …f <code class="docutils literal notranslate"><span class="pre">sys</span></code> is reset by user …
845 and screen will not work. These include system-specific functions that
848 that would not be there otherwise. IDLE wraps <code class="docutils literal notranslate"><span cla…
849 <code class="docutils literal notranslate"><span class="pre">sys.setrecursionlimit</span></code> to…
854 <section id="user-output-in-shell">
855 <h3>User output in Shell<a class="headerlink" href="#user-output-in-shell" title="Permalink to this…
857 corresponding output device. When IDLE executes user code, <code class="docutils literal notransla…
858 and <code class="docutils literal notranslate"><span class="pre">sys.stderr</span></code> are conne…
865 A Windows console, for instance, keeps a user-settable 1 to 9999 lines,
876 <div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="gp…
885 <p>The <code class="docutils literal notranslate"><span class="pre">repr</span></code> function is …
887 control codes, some BMP codepoints, and all non-BMP codepoints are
904 <p>Squeezed output is expanded in place by double-clicking the label.
906 right-clicking the label.</p>
908 <section id="developing-tkinter-applications">
909 <h3>Developing tkinter applications<a class="headerlink" href="#developing-tkinter-applications" ti…
911 facilitate development of tkinter programs. Enter <code class="docutils literal notranslate"><span…
914 <code class="docutils literal notranslate"><span class="pre">root.update()</span></code> to see the…
916 Next enter <code class="docutils literal notranslate"><span class="pre">b</span> <span class="pre">…
917 nothing visibly changes in standard Python until one enters <code class="docutils literal notransla…
918 <p>Most tkinter programs run <code class="docutils literal notranslate"><span class="pre">root.main…
920 …ss="docutils literal notranslate"><span class="pre">python</span> <span class="pre">-i</span></cod…
921 appear until <code class="docutils literal notranslate"><span class="pre">mainloop()</span></code> …
926 re-enable the mainloop call when running in standard Python.</p>
928 <section id="running-without-a-subprocess">
929 <h3>Running without a subprocess<a class="headerlink" href="#running-without-a-subprocess" title="P…
938 the -n command line switch.</p>
939 <p>If IDLE is started with the -n command line switch it will run in a
946 re-import any specific items (e.g. from foo import baz) if the changes
954 <section id="help-and-preferences">
955 <h2>Help and Preferences<a class="headerlink" href="#help-and-preferences" title="Permalink to this…
956 <section id="help-sources">
957 <span id="id6"></span><h3>Help sources<a class="headerlink" href="#help-sources" title="Permalink t…
959 IDLE chapter of the Library Reference. The result, in a read-only
966 including tutorials, available at <code class="docutils literal notranslate"><span class="pre">docs…
968 has an off-line copy of the docs (this may be an installation option),
973 <section id="setting-preferences">
974 <span id="preferences"></span><h3>Setting preferences<a class="headerlink" href="#setting-preferenc…
977 Non-default user settings are saved in a <code class="docutils literal notranslate"><span class="pr…
979 by editing or deleting one or more of the files in <code class="docutils literal notranslate"><span…
986 <p>On the Highlights and Keys tab, select a built-in or custom color theme
987 and key set. To use a newer built-in color theme or key set with older
991 <section id="idle-on-macos">
992 <h3>IDLE on macOS<a class="headerlink" href="#idle-on-macos" title="Permalink to this heading">¶</a…
1001 beginning of config-extensions.def in the idlelib directory for further
1006 <section id="module-idlelib">
1007 <span id="idlelib"></span><h2>idlelib<a class="headerlink" href="#module-idlelib" title="Permalink …
1009 <hr class="docutils" />
1016 …d (see <span class="target" id="index-7"></span><a class="pep reference external" href="https://pe…
1025 <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
1032 <li><a class="reference internal" href="#file-menu-shell-and-editor">File menu (Shell and Editor)</…
1033 <li><a class="reference internal" href="#edit-menu-shell-and-editor">Edit menu (Shell and Editor)</…
1034 <li><a class="reference internal" href="#format-menu-editor-window-only">Format menu (Editor window…
1035 <li><a class="reference internal" href="#run-menu-editor-window-only">Run menu (Editor window only)…
1036 <li><a class="reference internal" href="#shell-menu-shell-window-only">Shell menu (Shell window onl…
1037 <li><a class="reference internal" href="#debug-menu-shell-window-only">Debug menu (Shell window onl…
1038 <li><a class="reference internal" href="#options-menu-shell-and-editor">Options menu (Shell and Edi…
1039 <li><a class="reference internal" href="#window-menu-shell-and-editor">Window menu (Shell and Edito…
1040 <li><a class="reference internal" href="#help-menu-shell-and-editor">Help menu (Shell and Editor)</…
1041 <li><a class="reference internal" href="#context-menus">Context menus</a></li>
1044 <li><a class="reference internal" href="#editing-and-navigation">Editing and Navigation</a><ul>
1045 <li><a class="reference internal" href="#editor-windows">Editor windows</a></li>
1046 <li><a class="reference internal" href="#key-bindings">Key bindings</a></li>
1047 <li><a class="reference internal" href="#automatic-indentation">Automatic indentation</a></li>
1048 <li><a class="reference internal" href="#search-and-replace">Search and Replace</a></li>
1051 <li><a class="reference internal" href="#code-context">Code Context</a></li>
1052 <li><a class="reference internal" href="#shell-window">Shell window</a></li>
1053 <li><a class="reference internal" href="#text-colors">Text colors</a></li>
1056 <li><a class="reference internal" href="#startup-and-code-execution">Startup and Code Execution</a>…
1057 <li><a class="reference internal" href="#command-line-usage">Command line usage</a></li>
1058 <li><a class="reference internal" href="#startup-failure">Startup failure</a></li>
1059 <li><a class="reference internal" href="#running-user-code">Running user code</a></li>
1060 <li><a class="reference internal" href="#user-output-in-shell">User output in Shell</a></li>
1061 <li><a class="reference internal" href="#developing-tkinter-applications">Developing tkinter applic…
1062 <li><a class="reference internal" href="#running-without-a-subprocess">Running without a subprocess…
1065 <li><a class="reference internal" href="#help-and-preferences">Help and Preferences</a><ul>
1066 <li><a class="reference internal" href="#help-sources">Help sources</a></li>
1067 <li><a class="reference internal" href="#setting-preferences">Setting preferences</a></li>
1068 <li><a class="reference internal" href="#idle-on-macos">IDLE on macOS</a></li>
1072 <li><a class="reference internal" href="#module-idlelib">idlelib</a></li>
1081 …title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pr…
1088 <div role="note" aria-label="source link">
1090 <ul class="this-page-menu">
1107 <div class="related" role="navigation" aria-label="related navigation">
1110 <li class="right" style="margin-right: 10px">
1114 <a href="../py-modindex.html" title="Python Module Index"
1123 …<img src="../_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/><…
1132 <li id="cpython-language-and-version">
1136 … <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> »</li>
1137 …<li class="nav-item nav-item-2"><a href="tk.html" >Graphical User Interfaces with Tk</a> »</l…
1138 <li class="nav-item nav-item-this"><a href="">IDLE</a></li>
1142 <div class="inline-search" role="search">
1143 <form class="inline-search" action="../search.html" method="get">
1144 <input placeholder="Quick search" aria-label="Quick search" type="text" name="q" />
1156 © <a href="../copyright.html">Copyright</a> 2001-2022, Python Software Foundation.
1165 The Python Software Foundation is a non-profit corporation.
1174 Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.0.2.