Lines Matching +full:python3 +full:- +full:paste
6 <meta charset="utf-8" />
7 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
12 …<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"><…
37 table.full-width-table {
52 <div class="related" role="navigation" aria-label="related navigation">
55 <li class="right" style="margin-right: 10px">
59 <a href="../py-modindex.html" title="Python Module Index"
69 style="vertical-align: middle; margin-top: -1px"/></li>
73 <li id="cpython-language-and-version">
77 … <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> »</li>
78 …<li class="nav-item nav-item-2"><a href="tk.html" accesskey="U">Graphical User Interfaces with Tk<…
79 <li class="nav-item nav-item-this"><a href="">IDLE</a></li>
83 <div class="inline-search" style="display: none" role="search">
84 <form class="inline-search" action="../search.html" method="get">
91 <script type="text/javascript">$('.inline-search').show(0);</script>
106 <hr class="docutils" id="index-0" />
110 … href="tkinter.html#module-tkinter" title="tkinter: Interface to Tcl/Tk for graphical user interfa…
111 <li><p>cross-platform: works mostly the same on Windows, Unix, and macOS</p></li>
114 <li><p>multi-window text editor with multiple undo, Python colorizing,
134 <div class="section" id="file-menu-shell-and-editor">
135 <h3>File menu (Shell and Editor)<a class="headerlink" href="#file-menu-shell-and-editor" title="Per…
146 <dl class="simple" id="index-1">
172 <div class="section" id="edit-menu-shell-and-editor">
173 <h3>Edit menu (Shell and Editor)<a class="headerlink" href="#edit-menu-shell-and-editor" title="Per…
180 <dt>Cut</dt><dd><p>Copy selection into the system-wide clipboard; then delete the selection.</p>
182 <dt>Copy</dt><dd><p>Copy selection into the system-wide clipboard.</p>
184 <dt>Paste</dt><dd><p>Insert contents of the system-wide clipboard into the current window.</p>
199 <dt>Replace…</dt><dd><p>Open a search-and-replace dialog.</p>
206 <a class="reference internal" href="#completions"><span class="std std-ref">Completions</span></a> …
212 function parameter hints. See <a class="reference internal" href="#calltips"><span class="std std-…
219 <div class="section" id="format-menu-editor-window-only">
220 <span id="format-menu"></span><h3>Format menu (Editor window only)<a class="headerlink" href="#form…
240 <dt>Format Paragraph</dt><dd><p>Reformat the current blank-line-delimited paragraph in comment bloc…
245 non-whitespace character of a line by applying str.rstrip to each line,
251 <div class="section" id="run-menu-editor-window-only">
252 <span id="index-2"></span><h3>Run menu (Editor window only)<a class="headerlink" href="#run-menu-ed…
253 <dl class="simple" id="run-module">
254 …dule</dt><dd><p>Do <a class="reference internal" href="#check-module"><span class="std std-ref">Ch…
259 …tils literal notranslate"><span class="pre">python</span> <span class="pre">-i</span> <span class=…
263 <dl class="simple" id="run-custom">
264 …d</dt><dd><p>Same as <a class="reference internal" href="#run-module"><span class="std std-ref">Ru…
265 … internal" href="sys.html#sys.argv" title="sys.argv"><code class="xref py py-data docutils literal…
269 <dl class="simple" id="check-module">
277 <dl class="simple" id="python-shell">
282 <div class="section" id="shell-menu-shell-window-only">
283 <h3>Shell menu (Shell window only)<a class="headerlink" href="#shell-menu-shell-window-only" title=…
297 <div class="section" id="debug-menu-shell-window-only">
298 <h3>Debug menu (Shell window only)<a class="headerlink" href="#debug-menu-shell-window-only" title=…
307 <dl class="simple" id="index-3">
315 <dt>Auto-open Stack Viewer</dt><dd><p>Toggle automatically opening the stack viewer on an unhandled…
319 <div class="section" id="options-menu-shell-and-editor">
320 <h3>Options menu (Shell and Editor)<a class="headerlink" href="#options-menu-shell-and-editor" titl…
327 <a class="reference internal" href="#preferences"><span class="std std-ref">Setting preferences</sp…
335 <a class="reference internal" href="#code-context"><span class="std std-ref">Code Context</span></a…
340 preferences (see <a class="reference internal" href="#preferences"><span class="std std-ref">Settin…
351 <div class="section" id="window-menu-shell-and-editor">
352 <h3>Window menu (Shell and Editor)<a class="headerlink" href="#window-menu-shell-and-editor" title=…
356 <div class="section" id="help-menu-shell-and-editor">
357 <h3>Help menu (Shell and Editor)<a class="headerlink" href="#help-menu-shell-and-editor" title="Per…
371 the General tab. See the <a class="reference internal" href="#help-sources"><span class="std std-re…
374 <div class="section" id="context-menus">
375 <span id="index-4"></span><h3>Context Menus<a class="headerlink" href="#context-menus" title="Perma…
376 <p>Open a context menu by right-clicking in a window (Control-click on macOS).
379 <dt>Cut</dt><dd><p>Copy selection into the system-wide clipboard; then delete the selection.</p>
381 <dt>Copy</dt><dd><p>Copy selection into the system-wide clipboard.</p>
383 <dt>Paste</dt><dd><p>Insert contents of the system-wide clipboard into the current window.</p>
410 <div class="section" id="editing-and-navigation">
411 <span id="id2"></span><h2>Editing and navigation<a class="headerlink" href="#editing-and-navigation…
412 <div class="section" id="editor-windows">
413 <h3>Editor windows<a class="headerlink" href="#editor-windows" title="Permalink to this headline">¶…
424 <div class="section" id="key-bindings">
425 <h3>Key bindings<a class="headerlink" href="#key-bindings" title="Permalink to this headline">¶</a>…
430 …-<kbd class="kbd docutils literal notranslate">Backspace</kbd></kbd> delete word left; <kbd class=…
432 …-<kbd class="kbd docutils literal notranslate">LeftArrow</kbd></kbd> and <kbd class="kbd docutils …
434 …-<kbd class="kbd docutils literal notranslate">Home</kbd></kbd>/<kbd class="kbd docutils literal n…
438 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
439 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
440 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
441 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
442 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
444 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
446 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
448 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
453 …-<kbd class="kbd docutils literal notranslate">c</kbd></kbd> to copy and <kbd class="kbd docutils …
456 <div class="section" id="automatic-indentation">
457 <h3>Automatic indentation<a class="headerlink" href="#automatic-indentation" title="Permalink to th…
458 <p>After a block-opening statement, the next line is indented by 4 spaces (in the
465 <a class="reference internal" href="#format-menu"><span class="std std-ref">Format menu</span></a>.…
484 …rence internal" href="os.html#os.sep" title="os.sep"><code class="xref py py-data docutils literal…
485 <a class="reference internal" href="os.html#os.altsep" title="os.altsep"><code class="xref py py-da…
490 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
501 keywords, builtin names, and available module-level names.</p>
503 available module-level names by running your code
520 the latter’s first blank line or the fifth non-blank line. (Some builtin
537 <div class="section" id="code-context">
538 <span id="id5"></span><h3>Code Context<a class="headerlink" href="#code-context" title="Permalink t…
552 <div class="section" id="python-shell-window">
553 <h3>Python Shell window<a class="headerlink" href="#python-shell-window" title="Permalink to this h…
559 …ef="exceptions.html#SyntaxError" title="SyntaxError"><code class="xref py py-exc docutils literal …
563 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
564 …d docutils literal notranslate">C</kbd>-<kbd class="kbd docutils literal notranslate">d</kbd></kbd…
565 …literal notranslate"><kbd class="kbd docutils literal notranslate">Alt</kbd>-<kbd class="kbd docut…
568 …literal notranslate"><kbd class="kbd docutils literal notranslate">Alt</kbd>-<kbd class="kbd docut…
569 …s literal notranslate"><kbd class="kbd docutils literal notranslate">C</kbd>-<kbd class="kbd docut…
570 …-<kbd class="kbd docutils literal notranslate">n</kbd></kbd> retrieves next. On macOS use <kbd cla…
576 <div class="section" id="text-colors">
577 <h3>Text colors<a class="headerlink" href="#text-colors" title="Permalink to this headline">¶</a></…
584 …-keywords"><span class="std std-ref">soft keywords</span></a> <a class="reference internal" href="…
585 …-keyword docutils literal notranslate"><span class="pre">case</span></code></a>, and <a class="ref…
586 pattern-matching statements. However, this highlighting is not perfect and
587 …<code class="docutils literal notranslate"><span class="pre">_</span></code>-s in <code class="doc…
592 text in popups and dialogs is not user-configurable.</p>
595 <div class="section" id="startup-and-code-execution">
596 <h2>Startup and code execution<a class="headerlink" href="#startup-and-code-execution" title="Perma…
597 <p>Upon startup with the <code class="docutils literal notranslate"><span class="pre">-s</span></co…
598 …-5"></span><code class="xref std std-envvar docutils literal notranslate"><span class="pre">IDLEST…
609 <div class="section" id="command-line-usage">
610 <h3>Command line usage<a class="headerlink" href="#command-line-usage" title="Permalink to this hea…
611 …s="highlight-none notranslate"><div class="highlight"><pre><span></span>idle.py [-c command] [-d] …
613 -c command run command in the shell window
614 -d enable debugger and open shell window
615 -e open editor window
616 -h print help message with legal combinations and exit
617 -i open shell window
618 -r file run file in shell window
619 -s run $IDLESTARTUP or $PYTHONSTARTUP first, in shell window
620 -t title set title of shell window
621 - run stdin in shell (- must be last option before args)
626 …teral notranslate"><span class="pre">-</span></code>, <code class="docutils literal notranslate"><…
627 …>''</span></code>, <code class="docutils literal notranslate"><span class="pre">'-c'</span></code>,
628 or <code class="docutils literal notranslate"><span class="pre">'-r'</span></code>. No editor wind…
634 <div class="section" id="startup-failure">
635 <h3>Startup failure<a class="headerlink" href="#startup-failure" title="Permalink to this headline"…
647 … literal notranslate"><span class="pre">tcpconnect</span> <span class="pre">-irv</span> <span clas…
649 <p>A common cause of failure is a user-written file with the same name as a
658 ports. A similar problem is a network mis-configuration that blocks
666 initiated by a program crash or Keyboard Interrupt (control-C) may fail
677 …tils literal notranslate"><span class="pre">python</span> <span class="pre">-m</span> <span class=…
679 <p>On Unix-based systems with tcl/tk older than <code class="docutils literal notranslate"><span cl…
684 then re-configure IDLE to use a font that works better.</p>
686 <div class="section" id="running-user-code">
687 <h3>Running user code<a class="headerlink" href="#running-user-code" title="Permalink to this headl…
690 directly with Python in a text-mode system console or terminal window.
707 …rnal" href="stdtypes.html#str.join" title="str.join"><code class="xref py py-meth docutils literal…
719 and screen will not work. These include system-specific functions that
728 <div class="section" id="user-output-in-shell">
729 <h3>User output in Shell<a class="headerlink" href="#user-output-in-shell" title="Permalink to this…
739 A Windows console, for instance, keeps a user-settable 1 to 9999 lines,
750 <div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="gp…
761 control codes, some BMP codepoints, and all non-BMP codepoints are
778 <p>Squeezed output is expanded in place by double-clicking the label.
780 right-clicking the label.</p>
782 <div class="section" id="developing-tkinter-applications">
783 <h3>Developing tkinter applications<a class="headerlink" href="#developing-tkinter-applications" ti…
794 <code class="docutils literal notranslate"><span class="pre">python</span> <span class="pre">-i</sp…
800 re-enable the mainloop call when running in standard Python.</p>
802 <div class="section" id="running-without-a-subprocess">
803 <h3>Running without a subprocess<a class="headerlink" href="#running-without-a-subprocess" title="P…
812 the -n command line switch.</p>
813 <p>If IDLE is started with the -n command line switch it will run in a
820 re-import any specific items (e.g. from foo import baz) if the changes
828 <div class="section" id="help-and-preferences">
829 <h2>Help and preferences<a class="headerlink" href="#help-and-preferences" title="Permalink to this…
830 <div class="section" id="help-sources">
831 <span id="id6"></span><h3>Help sources<a class="headerlink" href="#help-sources" title="Permalink t…
833 IDLE chapter of the Library Reference. The result, in a read-only
842 has an off-line copy of the docs (this may be an installation option),
847 <div class="section" id="setting-preferences">
848 <span id="preferences"></span><h3>Setting preferences<a class="headerlink" href="#setting-preferenc…
851 Non-default user settings are saved in a <code class="docutils literal notranslate"><span class="pr…
860 <p>On the Highlights and Keys tab, select a built-in or custom color theme
861 and key set. To use a newer built-in color theme or key set with older
865 <div class="section" id="idle-on-macos">
866 <h3>IDLE on macOS<a class="headerlink" href="#idle-on-macos" title="Permalink to this headline">¶</…
875 beginning of config-extensions.def in the idlelib directory for further
887 <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
893 <li><a class="reference internal" href="#file-menu-shell-and-editor">File menu (Shell and Editor)</…
894 <li><a class="reference internal" href="#edit-menu-shell-and-editor">Edit menu (Shell and Editor)</…
895 <li><a class="reference internal" href="#format-menu-editor-window-only">Format menu (Editor window…
896 <li><a class="reference internal" href="#run-menu-editor-window-only">Run menu (Editor window only)…
897 <li><a class="reference internal" href="#shell-menu-shell-window-only">Shell menu (Shell window onl…
898 <li><a class="reference internal" href="#debug-menu-shell-window-only">Debug menu (Shell window onl…
899 <li><a class="reference internal" href="#options-menu-shell-and-editor">Options menu (Shell and Edi…
900 <li><a class="reference internal" href="#window-menu-shell-and-editor">Window menu (Shell and Edito…
901 <li><a class="reference internal" href="#help-menu-shell-and-editor">Help menu (Shell and Editor)</…
902 <li><a class="reference internal" href="#context-menus">Context Menus</a></li>
905 <li><a class="reference internal" href="#editing-and-navigation">Editing and navigation</a><ul>
906 <li><a class="reference internal" href="#editor-windows">Editor windows</a></li>
907 <li><a class="reference internal" href="#key-bindings">Key bindings</a></li>
908 <li><a class="reference internal" href="#automatic-indentation">Automatic indentation</a></li>
911 <li><a class="reference internal" href="#code-context">Code Context</a></li>
912 <li><a class="reference internal" href="#python-shell-window">Python Shell window</a></li>
913 <li><a class="reference internal" href="#text-colors">Text colors</a></li>
916 <li><a class="reference internal" href="#startup-and-code-execution">Startup and code execution</a>…
917 <li><a class="reference internal" href="#command-line-usage">Command line usage</a></li>
918 <li><a class="reference internal" href="#startup-failure">Startup failure</a></li>
919 <li><a class="reference internal" href="#running-user-code">Running user code</a></li>
920 <li><a class="reference internal" href="#user-output-in-shell">User output in Shell</a></li>
921 <li><a class="reference internal" href="#developing-tkinter-applications">Developing tkinter applic…
922 <li><a class="reference internal" href="#running-without-a-subprocess">Running without a subprocess…
925 <li><a class="reference internal" href="#help-and-preferences">Help and preferences</a><ul>
926 <li><a class="reference internal" href="#help-sources">Help sources</a></li>
927 <li><a class="reference internal" href="#setting-preferences">Setting preferences</a></li>
928 <li><a class="reference internal" href="#idle-on-macos">IDLE on macOS</a></li>
938 …title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pr…
942 <div role="note" aria-label="source link">
944 <ul class="this-page-menu">
957 <div class="related" role="navigation" aria-label="related navigation">
960 <li class="right" style="margin-right: 10px">
964 <a href="../py-modindex.html" title="Python Module Index"
974 style="vertical-align: middle; margin-top: -1px"/></li>
978 <li id="cpython-language-and-version">
982 … <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> »</li>
983 …<li class="nav-item nav-item-2"><a href="tk.html" >Graphical User Interfaces with Tk</a> »</l…
984 <li class="nav-item nav-item-this"><a href="">IDLE</a></li>
988 <div class="inline-search" style="display: none" role="search">
989 <form class="inline-search" action="../search.html" method="get">
996 <script type="text/javascript">$('.inline-search').show(0);</script>
1003 © <a href="../copyright.html">Copyright</a> 2001-2021, Python Software Foundation.
1006 The Python Software Foundation is a non-profit corporation.
1015 Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.2.1.