-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathidle.po
More file actions
1358 lines (1077 loc) · 43.3 KB
/
idle.po
File metadata and controls
1358 lines (1077 loc) · 43.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2026, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-04-11 17:34+0000\n"
"PO-Revision-Date: 2025-09-22 15:58+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && "
"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
msgid "IDLE"
msgstr "IDLE"
msgid "**Source code:** :source:`Lib/idlelib/`"
msgstr "**Kod źródłowy:** :source:`Lib/idlelib/`"
msgid "IDLE is Python's Integrated Development and Learning Environment."
msgstr ""
msgid "IDLE has the following features:"
msgstr ""
msgid "coded in 100% pure Python, using the :mod:`tkinter` GUI toolkit"
msgstr ""
msgid "cross-platform: works mostly the same on Windows, Unix, and macOS"
msgstr ""
msgid ""
"Python shell window (interactive interpreter) with colorizing of code input, "
"output, and error messages"
msgstr ""
msgid ""
"multi-window text editor with multiple undo, Python colorizing, smart "
"indent, call tips, auto completion, and other features"
msgstr ""
msgid ""
"search within any window, replace within editor windows, and search through "
"multiple files (grep)"
msgstr ""
msgid ""
"debugger with persistent breakpoints, stepping, and viewing of global and "
"local namespaces"
msgstr ""
msgid "configuration, browsers, and other dialogs"
msgstr ""
msgid "Menus"
msgstr ""
msgid ""
"IDLE has two main window types, the Shell window and the Editor window. It "
"is possible to have multiple editor windows simultaneously. On Windows and "
"Linux, each has its own top menu. Each menu documented below indicates "
"which window type it is associated with."
msgstr ""
msgid ""
"Output windows, such as used for Edit => Find in Files, are a subtype of "
"editor window. They currently have the same top menu but a different "
"default title and context menu."
msgstr ""
msgid ""
"On macOS, there is one application menu. It dynamically changes according "
"to the window currently selected. It has an IDLE menu, and some entries "
"described below are moved around to conform to Apple guidelines."
msgstr ""
msgid "File menu (Shell and Editor)"
msgstr ""
msgid "New File"
msgstr ""
msgid "Create a new file editing window."
msgstr ""
msgid "Open..."
msgstr ""
msgid "Open an existing file with an Open dialog."
msgstr ""
msgid "Open Module..."
msgstr ""
msgid "Open an existing module (searches sys.path)."
msgstr ""
msgid "Recent Files"
msgstr ""
msgid "Open a list of recent files. Click one to open it."
msgstr ""
msgid "Module Browser"
msgstr ""
msgid ""
"Show functions, classes, and methods in the current Editor file in a tree "
"structure. In the shell, open a module first."
msgstr ""
msgid "Path Browser"
msgstr ""
msgid ""
"Show sys.path directories, modules, functions, classes and methods in a tree "
"structure."
msgstr ""
msgid "Save"
msgstr ""
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 ""
msgid "Save As..."
msgstr ""
msgid ""
"Save the current window with a Save As dialog. The file saved becomes the "
"new associated file for the window. (If your file namager is set to hide "
"extensions, the current extension will be omitted in the file name box. If "
"the new filename has no '.', '.py' and '.txt' will be added for Python and "
"text files, except that on macOS Aqua,'.py' is added for all files.)"
msgstr ""
msgid "Save Copy As..."
msgstr ""
msgid ""
"Save the current window to different file without changing the associated "
"file. (See Save As note above about filename extensions.)"
msgstr ""
msgid "Print Window"
msgstr ""
msgid "Print the current window to the default printer."
msgstr ""
msgid "Close Window"
msgstr ""
msgid ""
"Close the current window (if an unsaved editor, ask to save; if an unsaved "
"Shell, ask to quit execution). Calling ``exit()`` or ``close()`` in the "
"Shell window also closes Shell. If this is the only window, also exit IDLE."
msgstr ""
msgid "Exit IDLE"
msgstr ""
msgid "Close all windows and quit IDLE (ask to save unsaved edit windows)."
msgstr ""
msgid "Edit menu (Shell and Editor)"
msgstr ""
msgid "Undo"
msgstr ""
msgid ""
"Undo the last change to the current window. A maximum of 1000 changes may "
"be undone."
msgstr ""
msgid "Redo"
msgstr ""
msgid "Redo the last undone change to the current window."
msgstr ""
msgid "Select All"
msgstr ""
msgid "Select the entire contents of the current window."
msgstr ""
msgid "Cut"
msgstr ""
msgid ""
"Copy selection into the system-wide clipboard; then delete the selection."
msgstr ""
msgid "Copy"
msgstr ""
msgid "Copy selection into the system-wide clipboard."
msgstr ""
msgid "Paste"
msgstr ""
msgid "Insert contents of the system-wide clipboard into the current window."
msgstr ""
msgid "The clipboard functions are also available in context menus."
msgstr ""
msgid "Find..."
msgstr ""
msgid "Open a search dialog with many options"
msgstr ""
msgid "Find Again"
msgstr ""
msgid "Repeat the last search, if there is one."
msgstr ""
msgid "Find Selection"
msgstr ""
msgid "Search for the currently selected string, if there is one."
msgstr ""
msgid "Find in Files..."
msgstr ""
msgid "Open a file search dialog. Put results in a new output window."
msgstr ""
msgid "Replace..."
msgstr ""
msgid "Open a search-and-replace dialog."
msgstr ""
msgid "Go to Line"
msgstr ""
msgid ""
"Move the cursor to the beginning of the line requested and make that line "
"visible. A request past the end of the file goes to the end. Clear any "
"selection and update the line and column status."
msgstr ""
msgid "Show Completions"
msgstr ""
msgid ""
"Open a scrollable list allowing selection of existing names. See :ref:"
"`Completions <completions>` in the Editing and navigation section below."
msgstr ""
msgid "Expand Word"
msgstr ""
msgid ""
"Expand a prefix you have typed to match a full word in the same window; "
"repeat to get a different expansion."
msgstr ""
msgid "Show Call Tip"
msgstr ""
msgid ""
"After an unclosed parenthesis for a function, open a small window with "
"function parameter hints. See :ref:`Calltips <calltips>` in the Editing and "
"navigation section below."
msgstr ""
msgid "Show Surrounding Parens"
msgstr ""
msgid "Highlight the surrounding parenthesis."
msgstr ""
msgid "Format menu (Editor window only)"
msgstr ""
msgid "Format Paragraph"
msgstr ""
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 ""
msgid "Indent Region"
msgstr ""
msgid "Shift selected lines right by the indent width (default 4 spaces)."
msgstr ""
msgid "Dedent Region"
msgstr ""
msgid "Shift selected lines left by the indent width (default 4 spaces)."
msgstr ""
msgid "Comment Out Region"
msgstr ""
msgid "Insert ## in front of selected lines."
msgstr ""
msgid "Uncomment Region"
msgstr ""
msgid "Remove leading # or ## from selected lines."
msgstr ""
msgid "Tabify Region"
msgstr ""
msgid ""
"Turn *leading* stretches of spaces into tabs. (Note: We recommend using 4 "
"space blocks to indent Python code.)"
msgstr ""
msgid "Untabify Region"
msgstr ""
msgid "Turn *all* tabs into the correct number of spaces."
msgstr ""
msgid "Toggle Tabs"
msgstr ""
msgid "Open a dialog to switch between indenting with spaces and tabs."
msgstr ""
msgid "New Indent Width"
msgstr ""
msgid ""
"Open a dialog to change indent width. The accepted default by the Python "
"community is 4 spaces."
msgstr ""
msgid "Strip Trailing Chitespace"
msgstr ""
msgid ""
"Remove trailing space and other whitespace characters after the last non-"
"whitespace character of a line by applying str.rstrip to each line, "
"including lines within multiline strings. Except for Shell windows, remove "
"extra newlines at the end of the file."
msgstr ""
msgid "Run menu (Editor window only)"
msgstr ""
msgid "Run Module"
msgstr ""
msgid ""
"Do :ref:`Check Module <check-module>`. 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 ""
msgid "Run... Customized"
msgstr ""
msgid ""
"Same as :ref:`Run Module <run-module>`, but run the module with customized "
"settings. *Command Line Arguments* extend :data:`sys.argv` as if passed on "
"a command line. The module can be run in the Shell without restarting."
msgstr ""
msgid "Check Module"
msgstr ""
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 ""
msgid "Python Shell"
msgstr ""
msgid "Open or wake up the Python Shell window."
msgstr ""
msgid "Shell menu (Shell window only)"
msgstr ""
msgid "View Last Restart"
msgstr ""
msgid "Scroll the shell window to the last Shell restart."
msgstr ""
msgid "Restart Shell"
msgstr ""
msgid ""
"Restart the shell to clean the environment and reset display and exception "
"handling."
msgstr ""
msgid "Previous History"
msgstr ""
msgid ""
"Cycle through earlier commands in history which match the current entry."
msgstr ""
msgid "Next History"
msgstr ""
msgid "Cycle through later commands in history which match the current entry."
msgstr ""
msgid "Interrupt Execution"
msgstr ""
msgid "Stop a running program."
msgstr ""
msgid "Debug menu (Shell window only)"
msgstr ""
msgid "Go to File/Line"
msgstr ""
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 ""
msgid "Debugger (toggle)"
msgstr ""
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 ""
msgid "Stack Viewer"
msgstr ""
msgid ""
"Show the stack traceback of the last exception in a tree widget, with access "
"to locals and globals."
msgstr ""
msgid "Auto-open Stack Viewer"
msgstr ""
msgid ""
"Toggle automatically opening the stack viewer on an unhandled exception."
msgstr ""
msgid "Options menu (Shell and Editor)"
msgstr ""
msgid "Configure IDLE"
msgstr ""
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. On macOS, open the configuration "
"dialog by selecting Preferences in the application menu. For more details, "
"see :ref:`Setting preferences <preferences>` under Help and preferences."
msgstr ""
msgid ""
"Most configuration options apply to all windows or all future windows. The "
"option items below only apply to the active window."
msgstr ""
msgid "Show/Hide Code Context (Editor Window only)"
msgstr ""
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. See :ref:`Code "
"Context <code-context>` in the Editing and Navigation section below."
msgstr ""
msgid "Show/Hide Line Numbers (Editor Window only)"
msgstr ""
msgid ""
"Open a column to the left of the edit window which shows the number of each "
"line of text. The default is off, which may be changed in the preferences "
"(see :ref:`Setting preferences <preferences>`)."
msgstr ""
msgid "Zoom/Restore Height"
msgstr ""
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. The maximum height for a screen is determined by "
"momentarily maximizing a window the first time one is zoomed on the screen. "
"Changing screen settings may invalidate the saved height. This toggle has "
"no effect when a window is maximized."
msgstr ""
msgid "Window menu (Shell and Editor)"
msgstr ""
msgid ""
"Lists the names of all open windows; select one to bring it to the "
"foreground (deiconifying it if necessary)."
msgstr ""
msgid "Help menu (Shell and Editor)"
msgstr ""
msgid "About IDLE"
msgstr ""
msgid "Display version, copyright, license, credits, and more."
msgstr ""
msgid "IDLE Help"
msgstr ""
msgid ""
"Display this IDLE document, detailing the menu options, basic editing and "
"navigation, and other tips."
msgstr ""
msgid "Python Docs"
msgstr ""
msgid ""
"Access local Python documentation, if installed, or start a web browser and "
"open docs.python.org showing the latest Python documentation."
msgstr ""
msgid "Turtle Demo"
msgstr ""
msgid "Run the turtledemo module with example Python code and turtle drawings."
msgstr ""
msgid ""
"Additional help sources may be added here with the Configure IDLE dialog "
"under the General tab. See the :ref:`Help sources <help-sources>` subsection "
"below for more on Help menu choices."
msgstr ""
msgid "Context menus"
msgstr ""
msgid ""
"Open a context menu by right-clicking in a window (Control-click on macOS). "
"Context menus have the standard clipboard functions also on the Edit menu."
msgstr ""
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 ""
msgid "Set Breakpoint"
msgstr ""
msgid "Set a breakpoint on the current line."
msgstr ""
msgid "Clear Breakpoint"
msgstr ""
msgid "Clear the breakpoint on that line."
msgstr ""
msgid "Shell and Output windows also have the following."
msgstr ""
msgid "Go to file/line"
msgstr ""
msgid "Same as in Debug menu."
msgstr ""
msgid ""
"The Shell window also has an output squeezing facility explained in the "
"*Python Shell window* subsection below."
msgstr ""
msgid "Squeeze"
msgstr ""
msgid ""
"If the cursor is over an output line, squeeze all the output between the "
"code above and the prompt below down to a 'Squeezed text' label."
msgstr ""
msgid "Editing and Navigation"
msgstr ""
msgid "Editor windows"
msgstr ""
msgid ""
"IDLE may open editor windows when it starts, depending on settings and how "
"you start IDLE. Thereafter, use the File menu. There can be only one open "
"editor window for a given file."
msgstr ""
msgid ""
"The title bar contains the name of the file, the full path, and the version "
"of Python and IDLE running the window. The status bar contains the line "
"number ('Ln') and column number ('Col'). Line numbers start with 1; column "
"numbers with 0."
msgstr ""
msgid ""
"IDLE assumes that files with a known .py* extension contain Python code and "
"that other files do not. Run Python code with the Run menu."
msgstr ""
msgid "Key bindings"
msgstr ""
msgid ""
"In this section, 'C' refers to the :kbd:`Control` key on Windows and Unix "
"and the :kbd:`Command` key on macOS."
msgstr ""
msgid ":kbd:`Backspace` deletes to the left; :kbd:`Del` deletes to the right"
msgstr ""
msgid ""
":kbd:`C-Backspace` delete word left; :kbd:`C-Del` delete word to the right"
msgstr ""
msgid "Arrow keys and :kbd:`Page Up`/:kbd:`Page Down` to move around"
msgstr ""
msgid ":kbd:`C-LeftArrow` and :kbd:`C-RightArrow` moves by words"
msgstr ""
msgid ":kbd:`Home`/:kbd:`End` go to begin/end of line"
msgstr ""
msgid ":kbd:`C-Home`/:kbd:`C-End` go to begin/end of file"
msgstr ""
msgid "Some useful Emacs bindings are inherited from Tcl/Tk:"
msgstr ""
msgid ":kbd:`C-a` beginning of line"
msgstr ""
msgid ":kbd:`C-e` end of line"
msgstr ""
msgid ":kbd:`C-k` kill line (but doesn't put it in clipboard)"
msgstr ""
msgid ":kbd:`C-l` center window around the insertion point"
msgstr ""
msgid ""
":kbd:`C-b` go backward one character without deleting (usually you can also "
"use the cursor key for this)"
msgstr ""
msgid ""
":kbd:`C-f` go forward one character without deleting (usually you can also "
"use the cursor key for this)"
msgstr ""
msgid ""
":kbd:`C-p` go up one line (usually you can also use the cursor key for this)"
msgstr ""
msgid ":kbd:`C-d` delete next character"
msgstr ""
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 ""
msgid "Automatic indentation"
msgstr ""
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 ""
msgid ""
"See also the indent/dedent region commands on the :ref:`Format menu <format-"
"menu>`."
msgstr ""
msgid "Search and Replace"
msgstr "Znajdz i zamień"
msgid ""
"Any selection becomes a search target. However, only selections within a "
"line work because searches are only performed within lines with the terminal "
"newline removed. If ``[x] Regular expresion`` is checked, the target is "
"interpreted according to the Python re module."
msgstr ""
msgid "Completions"
msgstr ""
msgid ""
"Completions are supplied, when requested and available, for module names, "
"attributes of classes or functions, or filenames. Each request method "
"displays a completion box with existing names. (See tab completions below "
"for an exception.) For any box, change the name being completed and the item "
"highlighted in the box by typing and deleting characters; by hitting :kbd:"
"`Up`, :kbd:`Down`, :kbd:`PageUp`, :kbd:`PageDown`, :kbd:`Home`, and :kbd:"
"`End` keys; and by a single click within the box. Close the box with :kbd:"
"`Escape`, :kbd:`Enter`, and double :kbd:`Tab` keys or clicks outside the "
"box. A double click within the box selects and closes."
msgstr ""
msgid ""
"One way to open a box is to type a key character and wait for a predefined "
"interval. This defaults to 2 seconds; customize it in the settings dialog. "
"(To prevent auto popups, set the delay to a large number of milliseconds, "
"such as 100000000.) For imported module names or class or function "
"attributes, type '.'. For filenames in the root directory, type :data:`os."
"sep` or :data:`os.altsep` immediately after an opening quote. (On Windows, "
"one can specify a drive first.) Move into subdirectories by typing a "
"directory name and a separator."
msgstr ""
msgid ""
"Instead of waiting, or after a box is closed, open a completion box "
"immediately with Show Completions on the Edit menu. The default hot key is :"
"kbd:`C-space`. If one types a prefix for the desired name before opening "
"the box, the first match or near miss is made visible. The result is the "
"same as if one enters a prefix after the box is displayed. Show Completions "
"after a quote completes filenames in the current directory instead of a root "
"directory."
msgstr ""
msgid ""
"Hitting :kbd:`Tab` after a prefix usually has the same effect as Show "
"Completions. (With no prefix, it indents.) However, if there is only one "
"match to the prefix, that match is immediately added to the editor text "
"without opening a box."
msgstr ""
msgid ""
"Invoking 'Show Completions', or hitting :kbd:`Tab` after a prefix, outside "
"of a string and without a preceding '.' opens a box with keywords, builtin "
"names, and available module-level names."
msgstr ""
msgid ""
"When editing code in an editor (as oppose to Shell), increase the available "
"module-level names by running your code and not restarting the Shell "
"thereafter. This is especially useful after adding imports at the top of a "
"file. This also increases possible attribute completions."
msgstr ""
msgid ""
"Completion boxes initially exclude names beginning with '_' or, for modules, "
"not included in '__all__'. The hidden names can be accessed by typing '_' "
"after '.', either before or after the box is opened."
msgstr ""
msgid "Calltips"
msgstr ""
msgid ""
"A calltip is shown automatically when one types :kbd:`(` after the name of "
"an *accessible* function. A function 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. Whenever the cursor is in the "
"argument part of a definition, select Edit and \"Show Call Tip\" on the menu "
"or enter its shortcut to display a calltip."
msgstr ""
msgid ""
"The calltip consists of the function's signature and docstring up to the "
"latter's first blank line or the fifth non-blank line. (Some builtin "
"functions lack an accessible signature.) A '/' or '*' in the signature "
"indicates that the preceding or following arguments are passed by position "
"or name (keyword) only. Details are subject to change."
msgstr ""
msgid ""
"In Shell, the accessible functions depends on what modules have been "
"imported into the user process, including those imported by Idle itself, and "
"which definitions have been run, all since the last restart."
msgstr ""
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 itself import turtle. The menu entry and shortcut also do "
"nothing. Enter ``import turtle``. Thereafter, ``turtle.write(`` will "
"display a calltip."
msgstr ""
msgid ""
"In an editor, import statements have no effect until one runs the file. One "
"might want to run a file after writing import statements, after adding "
"function definitions, or after opening an existing file."
msgstr ""
msgid "Code Context"
msgstr ""
msgid ""
"Within an editor window containing Python code, code context can be toggled "
"in order to show or hide a pane at the top of the window. When shown, this "
"pane freezes the opening lines for block code, such as those beginning with "
"``class``, ``def``, or ``if`` keywords, that would have otherwise scrolled "
"out of view. The size of the pane will be expanded and contracted as needed "
"to show the all current levels of context, up to the maximum number of lines "
"defined in the Configure IDLE dialog (which defaults to 15). If there are "
"no current context lines and the feature is toggled on, a single blank line "
"will display. Clicking on a line in the context pane will move that line to "
"the top of the editor."
msgstr ""
msgid ""
"The text and background colors for the context pane can be configured under "
"the Highlights tab in the Configure IDLE dialog."
msgstr ""
msgid "Shell window"
msgstr ""
msgid ""
"In IDLE's Shell, enter, edit, and recall complete statements. (Most consoles "
"and terminals only work with a single physical line at a time)."
msgstr ""
msgid ""
"Submit a single-line statement for execution by hitting :kbd:`Return` with "
"the cursor anywhere on the line. If a line is extended with Backslash (:kbd:"
"`\\\\`), the cursor must be on the last physical line. Submit a multi-line "
"compound statement by entering a blank line after the statement."
msgstr ""
msgid ""
"When one pastes code into Shell, it is not compiled and possibly executed "
"until one hits :kbd:`Return`, as specified above. One may edit pasted code "
"first. If one pastes more than one statement into Shell, the result will be "
"a :exc:`SyntaxError` when multiple statements are compiled as if they were "
"one."
msgstr ""
msgid ""
"Lines containing ``RESTART`` mean that the user execution process has been "
"re-started. This occurs when the user execution process has crashed, when "
"one requests a restart on the Shell menu, or when one runs code in an editor "
"window."
msgstr ""
msgid ""
"The editing features described in previous subsections work when entering "
"code interactively. IDLE's Shell window also responds to the following keys."
msgstr ""
msgid ":kbd:`C-c` interrupts executing command"
msgstr ""
msgid ""
":kbd:`C-d` sends end-of-file; closes window if typed at a ``>>>`` prompt"
msgstr ""
msgid ":kbd:`Alt-/` (Expand word) is also useful to reduce typing"
msgstr ""
msgid "Command history"
msgstr ""
msgid ""
":kbd:`Alt-p` retrieves previous command matching what you have typed. On "
"macOS use :kbd:`C-p`."
msgstr ""
msgid ":kbd:`Alt-n` retrieves next. On macOS use :kbd:`C-n`."
msgstr ""
msgid ""
":kbd:`Return` while the cursor is on any previous command retrieves that "
"command"
msgstr ""
msgid "Text colors"
msgstr ""
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 ""
msgid ""
"IDLE also highlights the :ref:`soft keywords <soft-keywords>` :keyword:"
"`match`, :keyword:`case <match>`, and :keyword:`_ <wildcard-patterns>` in "
"pattern-matching statements. However, this highlighting is not perfect and "
"will be incorrect in some rare cases, including some ``_``-s in ``case`` "
"patterns."
msgstr ""
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 ""
msgid "Startup and Code Execution"
msgstr ""
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 ""
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 ""
msgid "Command line usage"
msgstr ""
msgid "If there are arguments:"
msgstr ""
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 ""
msgid ""
"Otherwise, arguments are files opened for editing and ``sys.argv`` reflects "
"the arguments passed to IDLE itself."
msgstr ""
msgid "Startup failure"
msgstr ""
msgid ""
"IDLE uses a socket to communicate between the IDLE GUI process and the user "