# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-27 19:40+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/idle.rst:4 msgid "IDLE" msgstr "IDLE" #: ../Doc/library/idle.rst:8 msgid "**Source code:** :source:`Lib/idlelib/`" msgstr "" #: ../Doc/library/idle.rst:17 msgid "IDLE is Python's Integrated Development and Learning Environment." msgstr "" #: ../Doc/library/idle.rst:19 msgid "IDLE has the following features:" msgstr "" #: ../Doc/library/idle.rst:21 msgid "coded in 100% pure Python, using the :mod:`tkinter` GUI toolkit" msgstr "" #: ../Doc/library/idle.rst:23 msgid "cross-platform: works mostly the same on Windows, Unix, and Mac OS X" msgstr "" #: ../Doc/library/idle.rst:25 msgid "" "Python shell window (interactive interpreter) with colorizing of code input, " "output, and error messages" msgstr "" #: ../Doc/library/idle.rst:28 msgid "" "multi-window text editor with multiple undo, Python colorizing, smart " "indent, call tips, auto completion, and other features" msgstr "" #: ../Doc/library/idle.rst:31 msgid "" "search within any window, replace within editor windows, and search through " "multiple files (grep)" msgstr "" #: ../Doc/library/idle.rst:34 msgid "" "debugger with persistent breakpoints, stepping, and viewing of global and " "local namespaces" msgstr "" #: ../Doc/library/idle.rst:37 msgid "configuration, browsers, and other dialogs" msgstr "" #: ../Doc/library/idle.rst:40 msgid "Menus" msgstr "" #: ../Doc/library/idle.rst:42 msgid "" "IDLE has two main window types, the Shell window and the Editor window. It " "is possible to have multiple editor windows simultaneously. Output windows, " "such as used for Edit / Find in Files, are a subtype of edit window. They " "currently have the same top menu as Editor windows but a different default " "title and context menu." msgstr "" #: ../Doc/library/idle.rst:48 msgid "" "IDLE's menus dynamically change based on which window is currently selected. " "Each menu documented below indicates which window type it is associated with." msgstr "" #: ../Doc/library/idle.rst:52 msgid "File menu (Shell and Editor)" msgstr "" #: ../Doc/library/idle.rst:55 msgid "New File" msgstr "" #: ../Doc/library/idle.rst:55 msgid "Create a new file editing window." msgstr "" #: ../Doc/library/idle.rst:58 msgid "Open..." msgstr "" #: ../Doc/library/idle.rst:58 msgid "Open an existing file with an Open dialog." msgstr "" #: ../Doc/library/idle.rst:61 msgid "Recent Files" msgstr "" #: ../Doc/library/idle.rst:61 msgid "Open a list of recent files. Click one to open it." msgstr "" #: ../Doc/library/idle.rst:64 msgid "Open Module..." msgstr "" #: ../Doc/library/idle.rst:64 msgid "Open an existing module (searches sys.path)." msgstr "" #: ../Doc/library/idle.rst:72 msgid "Class Browser" msgstr "" #: ../Doc/library/idle.rst:71 msgid "" "Show functions, classes, and methods in the current Editor file in a tree " "structure. In the shell, open a module first." msgstr "" #: ../Doc/library/idle.rst:76 msgid "Path Browser" msgstr "" #: ../Doc/library/idle.rst:75 msgid "" "Show sys.path directories, modules, functions, classes and methods in a tree " "structure." msgstr "" #: ../Doc/library/idle.rst:82 msgid "Save" msgstr "" #: ../Doc/library/idle.rst:79 msgid "" "Save the current window to the associated file, if there is one. Windows " "that have been changed since being opened or last saved have a \\* before " "and after the window title. If there is no associated file, do Save As " "instead." msgstr "" #: ../Doc/library/idle.rst:86 msgid "Save As..." msgstr "" #: ../Doc/library/idle.rst:85 msgid "" "Save the current window with a Save As dialog. The file saved becomes the " "new associated file for the window." msgstr "" #: ../Doc/library/idle.rst:90 msgid "Save Copy As..." msgstr "" #: ../Doc/library/idle.rst:89 msgid "" "Save the current window to different file without changing the associated " "file." msgstr "" #: ../Doc/library/idle.rst:93 msgid "Print Window" msgstr "" #: ../Doc/library/idle.rst:93 msgid "Print the current window to the default printer." msgstr "" #: ../Doc/library/idle.rst:96 msgid "Close" msgstr "" #: ../Doc/library/idle.rst:96 msgid "Close the current window (ask to save if unsaved)." msgstr "" #: ../Doc/library/idle.rst:99 msgid "Exit" msgstr "" #: ../Doc/library/idle.rst:99 msgid "Close all windows and quit IDLE (ask to save unsaved windows)." msgstr "" #: ../Doc/library/idle.rst:102 msgid "Edit menu (Shell and Editor)" msgstr "" #: ../Doc/library/idle.rst:106 msgid "Undo" msgstr "" #: ../Doc/library/idle.rst:105 msgid "" "Undo the last change to the current window. A maximum of 1000 changes may " "be undone." msgstr "" #: ../Doc/library/idle.rst:109 msgid "Redo" msgstr "" #: ../Doc/library/idle.rst:109 msgid "Redo the last undone change to the current window." msgstr "" #: ../Doc/library/idle.rst:112 ../Doc/library/idle.rst:323 msgid "Cut" msgstr "" #: ../Doc/library/idle.rst:112 ../Doc/library/idle.rst:323 msgid "" "Copy selection into the system-wide clipboard; then delete the selection." msgstr "" #: ../Doc/library/idle.rst:115 ../Doc/library/idle.rst:326 msgid "Copy" msgstr "" #: ../Doc/library/idle.rst:115 ../Doc/library/idle.rst:326 msgid "Copy selection into the system-wide clipboard." msgstr "" #: ../Doc/library/idle.rst:118 ../Doc/library/idle.rst:329 msgid "Paste" msgstr "" #: ../Doc/library/idle.rst:118 ../Doc/library/idle.rst:329 msgid "Insert contents of the system-wide clipboard into the current window." msgstr "" #: ../Doc/library/idle.rst:120 msgid "The clipboard functions are also available in context menus." msgstr "" #: ../Doc/library/idle.rst:123 msgid "Select All" msgstr "" #: ../Doc/library/idle.rst:123 msgid "Select the entire contents of the current window." msgstr "" #: ../Doc/library/idle.rst:126 msgid "Find..." msgstr "" #: ../Doc/library/idle.rst:126 msgid "Open a search dialog with many options" msgstr "" #: ../Doc/library/idle.rst:129 msgid "Find Again" msgstr "" #: ../Doc/library/idle.rst:129 msgid "Repeat the last search, if there is one." msgstr "" #: ../Doc/library/idle.rst:132 msgid "Find Selection" msgstr "" #: ../Doc/library/idle.rst:132 msgid "Search for the currently selected string, if there is one." msgstr "" #: ../Doc/library/idle.rst:135 msgid "Find in Files..." msgstr "" #: ../Doc/library/idle.rst:135 msgid "Open a file search dialog. Put results in a new output window." msgstr "" #: ../Doc/library/idle.rst:138 msgid "Replace..." msgstr "" #: ../Doc/library/idle.rst:138 msgid "Open a search-and-replace dialog." msgstr "" #: ../Doc/library/idle.rst:141 msgid "Go to Line" msgstr "" #: ../Doc/library/idle.rst:141 msgid "Move cursor to the line number requested and make that line visible." msgstr "" #: ../Doc/library/idle.rst:145 msgid "Show Completions" msgstr "" #: ../Doc/library/idle.rst:144 msgid "" "Open a scrollable list allowing selection of keywords and attributes. See " "Completions in the Tips sections below." msgstr "" #: ../Doc/library/idle.rst:149 msgid "Expand Word" msgstr "" #: ../Doc/library/idle.rst:148 msgid "" "Expand a prefix you have typed to match a full word in the same window; " "repeat to get a different expansion." msgstr "" #: ../Doc/library/idle.rst:153 msgid "Show call tip" msgstr "" #: ../Doc/library/idle.rst:152 msgid "" "After an unclosed parenthesis for a function, open a small window with " "function parameter hints." msgstr "" #: ../Doc/library/idle.rst:156 msgid "Show surrounding parens" msgstr "" #: ../Doc/library/idle.rst:156 msgid "Highlight the surrounding parenthesis." msgstr "" #: ../Doc/library/idle.rst:159 msgid "Format menu (Editor window only)" msgstr "" #: ../Doc/library/idle.rst:162 msgid "Indent Region" msgstr "" #: ../Doc/library/idle.rst:162 msgid "Shift selected lines right by the indent width (default 4 spaces)." msgstr "" #: ../Doc/library/idle.rst:165 msgid "Dedent Region" msgstr "" #: ../Doc/library/idle.rst:165 msgid "Shift selected lines left by the indent width (default 4 spaces)." msgstr "" #: ../Doc/library/idle.rst:168 msgid "Comment Out Region" msgstr "" #: ../Doc/library/idle.rst:168 msgid "Insert ## in front of selected lines." msgstr "" #: ../Doc/library/idle.rst:171 msgid "Uncomment Region" msgstr "" #: ../Doc/library/idle.rst:171 msgid "Remove leading # or ## from selected lines." msgstr "" #: ../Doc/library/idle.rst:175 msgid "Tabify Region" msgstr "" #: ../Doc/library/idle.rst:174 msgid "" "Turn *leading* stretches of spaces into tabs. (Note: We recommend using 4 " "space blocks to indent Python code.)" msgstr "" #: ../Doc/library/idle.rst:178 msgid "Untabify Region" msgstr "" #: ../Doc/library/idle.rst:178 msgid "Turn *all* tabs into the correct number of spaces." msgstr "" #: ../Doc/library/idle.rst:181 msgid "Toggle Tabs" msgstr "" #: ../Doc/library/idle.rst:181 msgid "Open a dialog to switch between indenting with spaces and tabs." msgstr "" #: ../Doc/library/idle.rst:185 msgid "New Indent Width" msgstr "" #: ../Doc/library/idle.rst:184 msgid "" "Open a dialog to change indent width. The accepted default by the Python " "community is 4 spaces." msgstr "" #: ../Doc/library/idle.rst:190 msgid "Format Paragraph" msgstr "" #: ../Doc/library/idle.rst:188 msgid "" "Reformat the current blank-line-delimited paragraph in comment block or " "multiline string or selected line in a string. All lines in the paragraph " "will be formatted to less than N columns, where N defaults to 72." msgstr "" #: ../Doc/library/idle.rst:193 msgid "Strip trailing whitespace" msgstr "" #: ../Doc/library/idle.rst:193 msgid "" "Remove any space characters after the last non-space character of a line." msgstr "" #: ../Doc/library/idle.rst:199 msgid "Run menu (Editor window only)" msgstr "" #: ../Doc/library/idle.rst:202 msgid "Python Shell" msgstr "" #: ../Doc/library/idle.rst:202 msgid "Open or wake up the Python Shell window." msgstr "" #: ../Doc/library/idle.rst:209 msgid "Check Module" msgstr "" #: ../Doc/library/idle.rst:205 msgid "" "Check the syntax of the module currently open in the Editor window. If the " "module has not been saved IDLE will either prompt the user to save or " "autosave, as selected in the General tab of the Idle Settings dialog. If " "there is a syntax error, the approximate location is indicated in the Editor " "window." msgstr "" #: ../Doc/library/idle.rst:218 msgid "Run Module" msgstr "" #: ../Doc/library/idle.rst:212 msgid "" "Do Check Module (above). If no error, restart the shell to clean the " "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." msgstr "" #: ../Doc/library/idle.rst:221 msgid "Shell menu (Shell window only)" msgstr "" #: ../Doc/library/idle.rst:224 msgid "View Last Restart" msgstr "" #: ../Doc/library/idle.rst:224 msgid "Scroll the shell window to the last Shell restart." msgstr "" #: ../Doc/library/idle.rst:227 msgid "Restart Shell" msgstr "" #: ../Doc/library/idle.rst:227 msgid "Restart the shell to clean the environment." msgstr "" #: ../Doc/library/idle.rst:230 msgid "Interrupt Execution" msgstr "" #: ../Doc/library/idle.rst:230 msgid "Stop a running program." msgstr "" #: ../Doc/library/idle.rst:233 msgid "Debug menu (Shell window only)" msgstr "" #: ../Doc/library/idle.rst:240 msgid "Go to File/Line" msgstr "" #: ../Doc/library/idle.rst:236 msgid "" "Look on the current line. with the cursor, and the line above for a filename " "and line number. If found, open the file if not already open, and show the " "line. Use this to view source lines referenced in an exception traceback " "and lines found by Find in Files. Also available in the context menu of the " "Shell window and Output windows." msgstr "" #: ../Doc/library/idle.rst:249 msgid "Debugger (toggle)" msgstr "" #: ../Doc/library/idle.rst:247 msgid "" "When activated, code entered in the Shell or run from an Editor will run " "under the debugger. In the Editor, breakpoints can be set with the context " "menu. This feature is still incomplete and somewhat experimental." msgstr "" #: ../Doc/library/idle.rst:253 msgid "Stack Viewer" msgstr "" #: ../Doc/library/idle.rst:252 msgid "" "Show the stack traceback of the last exception in a tree widget, with access " "to locals and globals." msgstr "" #: ../Doc/library/idle.rst:256 msgid "Auto-open Stack Viewer" msgstr "" #: ../Doc/library/idle.rst:256 msgid "" "Toggle automatically opening the stack viewer on an unhandled exception." msgstr "" #: ../Doc/library/idle.rst:259 msgid "Options menu (Shell and Editor)" msgstr "" #: ../Doc/library/idle.rst:271 msgid "Configure IDLE" msgstr "" #: ../Doc/library/idle.rst:262 msgid "" "Open a configuration dialog and change preferences for the following: fonts, " "indentation, keybindings, text color themes, startup windows and size, " "additional help sources, and extensions (see below). On OS X, open the " "configuration dialog by selecting Preferences in the application menu. To " "use a new built-in color theme (IDLE Dark) with older IDLEs, save it as a " "new custom theme." msgstr "" #: ../Doc/library/idle.rst:269 msgid "" "Non-default user settings are saved in a .idlerc directory in the user's " "home directory. Problems caused by bad user configuration files are solved " "by editing or deleting one or more of the files in .idlerc." msgstr "" #: ../Doc/library/idle.rst:275 msgid "Code Context (toggle)(Editor Window only)" msgstr "" #: ../Doc/library/idle.rst:274 msgid "" "Open a pane at the top of the edit window which shows the block context of " "the code which has scrolled above the top of the window." msgstr "" #: ../Doc/library/idle.rst:278 msgid "Window menu (Shell and Editor)" msgstr "" #: ../Doc/library/idle.rst:283 msgid "Zoom Height" msgstr "" #: ../Doc/library/idle.rst:281 msgid "" "Toggles the window between normal size and maximum height. The initial size " "defaults to 40 lines by 80 chars unless changed on the General tab of the " "Configure IDLE dialog." msgstr "" #: ../Doc/library/idle.rst:285 msgid "" "The rest of this menu lists the names of all open windows; select one to " "bring it to the foreground (deiconifying it if necessary)." msgstr "" #: ../Doc/library/idle.rst:289 msgid "Help menu (Shell and Editor)" msgstr "" #: ../Doc/library/idle.rst:292 msgid "About IDLE" msgstr "" #: ../Doc/library/idle.rst:292 msgid "Display version, copyright, license, credits, and more." msgstr "" #: ../Doc/library/idle.rst:296 msgid "IDLE Help" msgstr "" #: ../Doc/library/idle.rst:295 msgid "" "Display a help file for IDLE detailing the menu options, basic editing and " "navigation, and other tips." msgstr "" #: ../Doc/library/idle.rst:300 msgid "Python Docs" msgstr "" #: ../Doc/library/idle.rst:299 msgid "" "Access local Python documentation, if installed, or start a web browser and " "open docs.python.org showing the latest Python documentation." msgstr "" #: ../Doc/library/idle.rst:303 msgid "Turtle Demo" msgstr "" #: ../Doc/library/idle.rst:303 msgid "Run the turtledemo module with example python code and turtle drawings." msgstr "" #: ../Doc/library/idle.rst:305 msgid "" "Additional help sources may be added here with the Configure IDLE dialog " "under the General tab." msgstr "" #: ../Doc/library/idle.rst:317 msgid "Context Menus" msgstr "" #: ../Doc/library/idle.rst:319 msgid "" "Open a context menu by right-clicking in a window (Control-click on OS X). " "Context menus have the standard clipboard functions also on the Edit menu." msgstr "" #: ../Doc/library/idle.rst:331 msgid "" "Editor windows also have breakpoint functions. Lines with a breakpoint set " "are specially marked. Breakpoints only have an effect when running under " "the debugger. Breakpoints for a file are saved in the user's .idlerc " "directory." msgstr "" #: ../Doc/library/idle.rst:336 msgid "Set Breakpoint" msgstr "" #: ../Doc/library/idle.rst:336 msgid "Set a breakpoint on the current line." msgstr "" #: ../Doc/library/idle.rst:339 msgid "Clear Breakpoint" msgstr "" #: ../Doc/library/idle.rst:339 msgid "Clear the breakpoint on that line." msgstr "" #: ../Doc/library/idle.rst:341 msgid "Shell and Output windows have the following." msgstr "" #: ../Doc/library/idle.rst:345 msgid "Go to file/line" msgstr "" #: ../Doc/library/idle.rst:344 msgid "Same as in Debug menu." msgstr "" #: ../Doc/library/idle.rst:348 msgid "Editing and navigation" msgstr "" #: ../Doc/library/idle.rst:350 msgid "" "In this section, 'C' refers to the :kbd:`Control` key on Windows and Unix " "and the :kbd:`Command` key on Mac OSX." msgstr "" #: ../Doc/library/idle.rst:353 msgid ":kbd:`Backspace` deletes to the left; :kbd:`Del` deletes to the right" msgstr "" #: ../Doc/library/idle.rst:355 msgid "" ":kbd:`C-Backspace` delete word left; :kbd:`C-Del` delete word to the right" msgstr "" #: ../Doc/library/idle.rst:357 msgid "Arrow keys and :kbd:`Page Up`/:kbd:`Page Down` to move around" msgstr "" #: ../Doc/library/idle.rst:359 msgid ":kbd:`C-LeftArrow` and :kbd:`C-RightArrow` moves by words" msgstr "" #: ../Doc/library/idle.rst:361 msgid ":kbd:`Home`/:kbd:`End` go to begin/end of line" msgstr "" #: ../Doc/library/idle.rst:363 msgid ":kbd:`C-Home`/:kbd:`C-End` go to begin/end of file" msgstr "" #: ../Doc/library/idle.rst:365 msgid "Some useful Emacs bindings are inherited from Tcl/Tk:" msgstr "" #: ../Doc/library/idle.rst:367 msgid ":kbd:`C-a` beginning of line" msgstr "" #: ../Doc/library/idle.rst:369 msgid ":kbd:`C-e` end of line" msgstr "" #: ../Doc/library/idle.rst:371 msgid ":kbd:`C-k` kill line (but doesn't put it in clipboard)" msgstr "" #: ../Doc/library/idle.rst:373 msgid ":kbd:`C-l` center window around the insertion point" msgstr "" #: ../Doc/library/idle.rst:375 msgid "" ":kbd:`C-b` go backward one character without deleting (usually you can also " "use the cursor key for this)" msgstr "" #: ../Doc/library/idle.rst:378 msgid "" ":kbd:`C-f` go forward one character without deleting (usually you can also " "use the cursor key for this)" msgstr "" #: ../Doc/library/idle.rst:381 msgid "" ":kbd:`C-p` go up one line (usually you can also use the cursor key for this)" msgstr "" #: ../Doc/library/idle.rst:384 msgid ":kbd:`C-d` delete next character" msgstr "" #: ../Doc/library/idle.rst:386 msgid "" "Standard keybindings (like :kbd:`C-c` to copy and :kbd:`C-v` to paste) may " "work. Keybindings are selected in the Configure IDLE dialog." msgstr "" #: ../Doc/library/idle.rst:391 msgid "Automatic indentation" msgstr "" #: ../Doc/library/idle.rst:393 msgid "" "After a block-opening statement, the next line is indented by 4 spaces (in " "the Python Shell window by one tab). After certain keywords (break, return " "etc.) the next line is dedented. In leading indentation, :kbd:`Backspace` " "deletes up to 4 spaces if they are there. :kbd:`Tab` inserts spaces (in the " "Python Shell window one tab), number depends on Indent width. Currently, " "tabs are restricted to four spaces due to Tcl/Tk limitations." msgstr "" #: ../Doc/library/idle.rst:400 msgid "See also the indent/dedent region commands in the edit menu." msgstr "" #: ../Doc/library/idle.rst:403 msgid "Completions" msgstr "" #: ../Doc/library/idle.rst:405 msgid "" "Completions are supplied for functions, classes, and attributes of classes, " "both built-in and user-defined. Completions are also provided for filenames." msgstr "" #: ../Doc/library/idle.rst:409 msgid "" "The AutoCompleteWindow (ACW) will open after a predefined delay (default is " "two seconds) after a '.' or (in a string) an os.sep is typed. If after one " "of those characters (plus zero or more other characters) a tab is typed the " "ACW will open immediately if a possible continuation is found." msgstr "" #: ../Doc/library/idle.rst:414 msgid "" "If there is only one possible completion for the characters entered, a :kbd:" "`Tab` will supply that completion without opening the ACW." msgstr "" #: ../Doc/library/idle.rst:417 msgid "" "'Show Completions' will force open a completions window, by default the :kbd:" "`C-space` will open a completions window. In an empty string, this will " "contain the files in the current directory. On a blank line, it will contain " "the built-in and user-defined functions and classes in the current " "namespaces, plus any modules imported. If some characters have been entered, " "the ACW will attempt to be more specific." msgstr "" #: ../Doc/library/idle.rst:424 msgid "" "If a string of characters is typed, the ACW selection will jump to the entry " "most closely matching those characters. Entering a :kbd:`tab` will cause " "the longest non-ambiguous match to be entered in the Editor window or " "Shell. Two :kbd:`tab` in a row will supply the current ACW selection, as " "will return or a double click. Cursor keys, Page Up/Down, mouse selection, " "and the scroll wheel all operate on the ACW." msgstr "" #: ../Doc/library/idle.rst:431 msgid "" "\"Hidden\" attributes can be accessed by typing the beginning of hidden name " "after a '.', e.g. '_'. This allows access to modules with ``__all__`` set, " "or to class-private attributes." msgstr "" #: ../Doc/library/idle.rst:435 msgid "Completions and the 'Expand Word' facility can save a lot of typing!" msgstr "" #: ../Doc/library/idle.rst:437 msgid "" "Completions are currently limited to those in the namespaces. Names in an " "Editor window which are not via ``__main__`` and :data:`sys.modules` will " "not be found. Run the module once with your imports to correct this " "situation. Note that IDLE itself places quite a few modules in sys.modules, " "so much can be found by default, e.g. the re module." msgstr "" #: ../Doc/library/idle.rst:443 msgid "" "If you don't like the ACW popping up unbidden, simply make the delay longer " "or disable the extension." msgstr "" #: ../Doc/library/idle.rst:447 msgid "Calltips" msgstr "" #: ../Doc/library/idle.rst:449 msgid "" "A calltip is shown when one types :kbd:`(` after the name of an *accessible* " "function. A name expression may include dots and subscripts. A calltip " "remains until it is clicked, the cursor is moved out of the argument area, " "or :kbd:`)` is typed. When the cursor is in the argument part of a " "definition, the menu or shortcut display a calltip." msgstr "" #: ../Doc/library/idle.rst:455 msgid "" "A calltip consists of the function signature and the first line of the " "docstring. For builtins without an accessible signature, the calltip " "consists of all lines up the fifth line or the first blank line. These " "details may change." msgstr "" #: ../Doc/library/idle.rst:460 msgid "" "The set of *accessible* functions depends on what modules have been imported " "into the user process, including those imported by Idle itself, and what " "definitions have been run, all since the last restart." msgstr "" #: ../Doc/library/idle.rst:464 msgid "" "For example, restart the Shell and enter ``itertools.count(``. A calltip " "appears because Idle imports itertools into the user process for its own " "use. (This could change.) Enter ``turtle.write(`` and nothing appears. " "Idle does not import turtle. The menu or shortcut do nothing either. Enter " "``import turtle`` and then ``turtle.write(`` will work." msgstr "" #: ../Doc/library/idle.rst:470 msgid "" "In an editor, import statements have no effect until one runs the file. One " "might want to run a file after writing the import statements at the top, or " "immediately run an existing file before editing." msgstr "" #: ../Doc/library/idle.rst:475 msgid "Python Shell window" msgstr "" #: ../Doc/library/idle.rst:477 msgid ":kbd:`C-c` interrupts executing command" msgstr "" #: ../Doc/library/idle.rst:479 msgid "" ":kbd:`C-d` sends end-of-file; closes window if typed at a ``>>>`` prompt" msgstr "" #: ../Doc/library/idle.rst:481 msgid ":kbd:`Alt-/` (Expand word) is also useful to reduce typing" msgstr "" #: ../Doc/library/idle.rst:483 msgid "Command history" msgstr "" #: ../Doc/library/idle.rst:485 msgid "" ":kbd:`Alt-p` retrieves previous command matching what you have typed. On OS " "X use :kbd:`C-p`." msgstr "" #: ../Doc/library/idle.rst:488 msgid ":kbd:`Alt-n` retrieves next. On OS X use :kbd:`C-n`." msgstr "" #: ../Doc/library/idle.rst:490 msgid ":kbd:`Return` while on any previous command retrieves that command" msgstr "" #: ../Doc/library/idle.rst:494 msgid "Text colors" msgstr "" #: ../Doc/library/idle.rst:496 msgid "" "Idle defaults to black on white text, but colors text with special meanings. " "For the shell, these are shell output, shell error, user output, and user " "error. For Python code, at the shell prompt or in an editor, these are " "keywords, builtin class and function names, names following ``class`` and " "``def``, strings, and comments. For any text window, these are the cursor " "(when present), found text (when possible), and selected text." msgstr "" #: ../Doc/library/idle.rst:503 msgid "" "Text coloring is done in the background, so uncolorized text is occasionally " "visible. To change the color scheme, use the Configure IDLE dialog " "Highlighting tab. The marking of debugger breakpoint lines in the editor " "and text in popups and dialogs is not user-configurable." msgstr "" #: ../Doc/library/idle.rst:510 msgid "Startup and code execution" msgstr "" #: ../Doc/library/idle.rst:512 msgid "" "Upon startup with the ``-s`` option, IDLE will execute the file referenced " "by the environment variables :envvar:`IDLESTARTUP` or :envvar:" "`PYTHONSTARTUP`. IDLE first checks for ``IDLESTARTUP``; if ``IDLESTARTUP`` " "is present the file referenced is run. If ``IDLESTARTUP`` is not present, " "IDLE checks for ``PYTHONSTARTUP``. Files referenced by these environment " "variables are convenient places to store functions that are used frequently " "from the IDLE shell, or for executing import statements to import common " "modules." msgstr "" #: ../Doc/library/idle.rst:520 msgid "" "In addition, ``Tk`` also loads a startup file if it is present. Note that " "the Tk file is loaded unconditionally. This additional file is ``.Idle.py`` " "and is looked for in the user's home directory. Statements in this file " "will be executed in the Tk namespace, so this file is not useful for " "importing functions to be used from IDLE's Python shell." msgstr "" #: ../Doc/library/idle.rst:528 msgid "Command line usage" msgstr "" #: ../Doc/library/idle.rst:544 msgid "If there are arguments:" msgstr "" #: ../Doc/library/idle.rst:546 msgid "" "If ``-``, ``-c``, or ``r`` is used, all arguments are placed in ``sys." "argv[1:...]`` and ``sys.argv[0]`` is set to ``''``, ``'-c'``, or ``'-r'``. " "No editor window is opened, even if that is the default set in the Options " "dialog." msgstr "" #: ../Doc/library/idle.rst:551 msgid "" "Otherwise, arguments are files opened for editing and ``sys.argv`` reflects " "the arguments passed to IDLE itself." msgstr "" #: ../Doc/library/idle.rst:556 msgid "IDLE-console differences" msgstr "" #: ../Doc/library/idle.rst:558 msgid "" "As much as possible, the result of executing Python code with IDLE is the " "same as executing the same code in a console window. However, the different " "interface and operation occasionally affect visible results. For instance, " "``sys.modules`` starts with more entries." msgstr "" #: ../Doc/library/idle.rst:563 msgid "" "IDLE also replaces ``sys.stdin``, ``sys.stdout``, and ``sys.stderr`` with " "objects that get input from and send output to the Shell window. When this " "window has the focus, it controls the keyboard and screen. This is normally " "transparent, but functions that directly access the keyboard and screen will " "not work. If ``sys`` is reset with ``importlib.reload(sys)``, IDLE's " "changes are lost and things like ``input``, ``raw_input``, and ``print`` " "will not work correctly." msgstr "" #: ../Doc/library/idle.rst:571 msgid "" "With IDLE's Shell, one enters, edits, and recalls complete statements. Some " "consoles only work with a single physical line at a time. IDLE uses " "``exec`` to run each statement. As a result, ``'__builtins__'`` is always " "defined for each statement." msgstr "" #: ../Doc/library/idle.rst:577 msgid "Running without a subprocess" msgstr "" #: ../Doc/library/idle.rst:579 msgid "" "By default, IDLE executes user code in a separate subprocess via a socket, " "which uses the internal loopback interface. This connection is not " "externally visible and no data is sent to or received from the Internet. If " "firewall software complains anyway, you can ignore it." msgstr "" #: ../Doc/library/idle.rst:584 msgid "" "If the attempt to make the socket connection fails, Idle will notify you. " "Such failures are sometimes transient, but if persistent, the problem may be " "either a firewall blocking the connection or misconfiguration of a " "particular system. Until the problem is fixed, one can run Idle with the -n " "command line switch." msgstr "" #: ../Doc/library/idle.rst:590 msgid "" "If IDLE is started with the -n command line switch it will run in a single " "process and will not create the subprocess which runs the RPC Python " "execution server. This can be useful if Python cannot create the subprocess " "or the RPC socket interface on your platform. However, in this mode user " "code is not isolated from IDLE itself. Also, the environment is not " "restarted when Run/Run Module (F5) is selected. If your code has been " "modified, you must reload() the affected modules and re-import any specific " "items (e.g. from foo import baz) if the changes are to take effect. For " "these reasons, it is preferable to run IDLE with the default subprocess if " "at all possible." msgstr "" #: ../Doc/library/idle.rst:605 msgid "Help and preferences" msgstr "" #: ../Doc/library/idle.rst:608 msgid "Additional help sources" msgstr "" #: ../Doc/library/idle.rst:610 msgid "" "IDLE includes a help menu entry called \"Python Docs\" that will open the " "extensive sources of help, including tutorials, available at docs.python." "org. Selected URLs can be added or removed from the help menu at any time " "using the Configure IDLE dialog. See the IDLE help option in the help menu " "of IDLE for more information." msgstr "" #: ../Doc/library/idle.rst:618 msgid "Setting preferences" msgstr "" #: ../Doc/library/idle.rst:620 msgid "" "The font preferences, highlighting, keys, and general preferences can be " "changed via Configure IDLE on the Option menu. Keys can be user defined; " "IDLE ships with four built-in key sets. In addition, a user can create a " "custom key set in the Configure IDLE dialog under the keys tab." msgstr "" #: ../Doc/library/idle.rst:627 msgid "Extensions" msgstr "" #: ../Doc/library/idle.rst:629 msgid "" "IDLE contains an extension facility. Preferences for extensions can be " "changed with Configure Extensions. See the beginning of config-extensions." "def in the idlelib directory for further information. The default " "extensions are currently:" msgstr "" #: ../Doc/library/idle.rst:634 msgid "FormatParagraph" msgstr "" #: ../Doc/library/idle.rst:636 msgid "AutoExpand" msgstr "" #: ../Doc/library/idle.rst:638 msgid "ZoomHeight" msgstr "" #: ../Doc/library/idle.rst:640 msgid "ScriptBinding" msgstr "" #: ../Doc/library/idle.rst:642 msgid "CallTips" msgstr "" #: ../Doc/library/idle.rst:644 msgid "ParenMatch" msgstr "" #: ../Doc/library/idle.rst:646 msgid "AutoComplete" msgstr "" #: ../Doc/library/idle.rst:648 msgid "CodeContext" msgstr "" #: ../Doc/library/idle.rst:650 msgid "RstripExtension" msgstr ""