Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d470527

Browse files
committed
Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users. The previous user content is now in the IDLE doc and is redundant. IDLE now means 'Integrated Development and Learning Environment'.
1 parent a8aa4d5 commit d470527

3 files changed

Lines changed: 232 additions & 63 deletions

File tree

Doc/library/idle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ IDLE
1010

1111
.. moduleauthor:: Guido van Rossum <[email protected]>
1212

13-
IDLE is the Python IDE built with the :mod:`tkinter` GUI toolkit.
13+
IDLE is Python's Integrated Development and Learning Environment.
1414

1515
IDLE has the following features:
1616

Lib/idlelib/README.txt

Lines changed: 229 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,229 @@
1-
IDLE is Python's Tkinter-based Integrated DeveLopment Environment.
2-
3-
IDLE emphasizes a lightweight, clean design with a simple user interface.
4-
Although it is suitable for beginners, even advanced users will find that
5-
IDLE has everything they really need to develop pure Python code.
6-
7-
IDLE features a multi-window text editor with multiple undo, Python colorizing,
8-
and many other capabilities, e.g. smart indent, call tips, and autocompletion.
9-
10-
The editor has comprehensive search functions, including searching through
11-
multiple files. Class browsers and path browsers provide fast access to
12-
code objects from a top level viewpoint without dealing with code folding.
13-
14-
There is a Python Shell window which features colorizing and command recall.
15-
16-
IDLE executes Python code in a separate process, which is restarted for each
17-
Run (F5) initiated from an editor window. The environment can also be
18-
restarted from the Shell window without restarting IDLE.
19-
20-
This enhancement has often been requested, and is now finally available. The
21-
magic "reload/import *" incantations are no longer required when editing and
22-
testing a module two or three steps down the import chain.
23-
24-
(Personal firewall software may warn about the connection IDLE makes to its
25-
subprocess using this computer's internal loopback interface. This connection
26-
is not visible on any external interface and no data is sent to or received
27-
from the Internet.)
28-
29-
It is possible to interrupt tightly looping user code, even on Windows.
30-
31-
Applications which cannot support subprocesses and/or sockets can still run
32-
IDLE in a single process.
33-
34-
IDLE has an integrated debugger with stepping, persistent breakpoints, and call
35-
stack visibility.
36-
37-
There is a GUI configuration manager which makes it easy to select fonts,
38-
colors, keybindings, and startup options. This facility includes a feature
39-
which allows the user to specify additional help sources, either locally or on
40-
the web.
41-
42-
IDLE is coded in 100% pure Python, using the Tkinter GUI toolkit (Tk/Tcl)
43-
and is cross-platform, working on Unix, Mac, and Windows.
44-
45-
IDLE accepts command line arguments. Try idle -h to see the options.
46-
47-
48-
If you find bugs or have suggestions or patches, let us know about
49-
them by using the Python issue tracker:
50-
51-
http://bugs.python.org
52-
53-
For further details and links, read the Help files and check the IDLE home
54-
page at
55-
56-
http://www.python.org/idle/
57-
58-
There is a mail list for IDLE: [email protected]. You can join at
59-
60-
http://mail.python.org/mailman/listinfo/idle-dev
1+
README.txt: an index to idlelib files and the IDLE menu.
2+
3+
IDLE is Python�s Integrated Development and Learning
4+
Environment. The user documentation is part of the Library Reference and
5+
is available in IDLE by selecting Help => IDLE Help. This README documents
6+
idlelib for IDLE developers and curious users.
7+
8+
IDLELIB FILES lists files alphabetically by category,
9+
with a short description of each.
10+
11+
IDLE MENU show the menu tree, annotated with the module
12+
or module object that implements the corresponding function.
13+
14+
This file is descriptive, not prescriptive, and may have errors
15+
and omissions and lag behind changes in idlelib.
16+
17+
18+
IDLELIB FILES
19+
Implemetation files not in IDLE MENU are marked (nim).
20+
Deprecated files and objects are listed separately as the end.
21+
22+
Startup
23+
-------
24+
__init__.py # import, does nothing
25+
__main__.py # -m, starts IDLE
26+
idle.bat
27+
idle.py
28+
idle.pyw
29+
30+
Implementation
31+
--------------
32+
AutoComplete.py # Complete attribute names or filenames.
33+
AutoCompleteWindow.py # Display completions.
34+
AutoExpand.py # Expand word with previous word in file.
35+
Bindings.py # Define most of IDLE menu.
36+
CallTipWindow.py # Display calltip.
37+
CallTips.py # Create calltip text.
38+
ClassBrowser.py # Create module browser window.
39+
CodeContext.py # Show compound statement headers otherwise not visible.
40+
ColorDelegator.py # Colorize text (nim).
41+
Debugger.py # Debug code run from editor; show window.
42+
Delegator.py # Define base class for delegators (nim).
43+
EditorWindow.py # Define most of editor and utility functions.
44+
FileList.py # Open files and manage list of open windows (nim).
45+
FormatParagraph.py# Re-wrap multiline strings and comments.
46+
GrepDialog.py # Find all occurrences of pattern in multiple files.
47+
HyperParser.py # Parse code around a given index.
48+
IOBinding.py # Open, read, and write files
49+
IdleHistory.py # Get previous or next user input in shell (nim)
50+
MultiCall.py # Wrap tk widget to allow multiple calls per event (nim).
51+
MultiStatusBar.py # Define status bar for windows (nim).
52+
ObjectBrowser.py # Define class used in StackViewer (nim).
53+
OutputWindow.py # Create window for grep output.
54+
ParenMatch.py # Match fenceposts: (), [], and {}.
55+
PathBrowser.py # Create path browser window.
56+
Percolator.py # Manage delegator stack (nim).
57+
PyParse.py # Give information on code indentation
58+
PyShell.py # Start IDLE, manage shell, complete editor window
59+
RemoteDebugger.py # Debug code run in remote process.
60+
RemoteObjectBrowser.py # Communicate objects between processes with rpc (nim).
61+
ReplaceDialog.py # Search and replace pattern in text.
62+
RstripExtension.py# Strip trailing whitespace
63+
ScriptBinding.py # Check and run user code.
64+
ScrolledList.py # Define ScrolledList widget for IDLE (nim).
65+
SearchDialog.py # Search for pattern in text.
66+
SearchDialogBase.py # Define base for search, replace, and grep dialogs.
67+
SearchEngine.py # Define engine for all 3 search dialogs.
68+
StackViewer.py # View stack after exception.
69+
TreeWidget.py # Define tree widger, used in browsers (nim).
70+
UndoDelegator.py # Manage undo stack.
71+
WidgetRedirector.py # Intercept widget subcommands (for percolator) (nim).
72+
WindowList.py # Manage window list and define listed top level.
73+
ZoomHeight.py # Zoom window to full height of screen.
74+
aboutDialog.py # Display About IDLE dialog.
75+
configDialog.py # Display user configuration dialogs.
76+
configHandler.py # Load, fetch, and save configuration (nim).
77+
configHelpSourceEdit.py # Specify help source.
78+
configSectionNameDialog.py # Spefify user config section name
79+
dynOptionMenuWidget.py # define mutable OptionMenu widget (nim).
80+
help.py # Display IDLE's html doc.
81+
keybindingDialog.py # Change keybindings.
82+
macosxSupport.py # Help IDLE run on Macs (nim).
83+
rpc.py # Commuicate between idle and user processes (nim).
84+
run.py # Manage user code execution subprocess.
85+
tabbedpages.py # Define tabbed pages widget (nim).
86+
textView.py # Define read-only text widget (nim).
87+
88+
Configuration
89+
-------------
90+
config-extensions.def # Defaults for extensions
91+
config-highlight.def # Defaults for colorizing
92+
config-keys.def # Defaults for key bindings
93+
config-main.def # Defai;ts fpr font and geneal
94+
95+
Text
96+
----
97+
CREDITS.txt # not maintained, displayed by About IDLE
98+
HISTORY.txt # NEWS up to July 2001
99+
NEWS.txt # commits, displayed by About IDLE
100+
README.txt # this file, displeyed by About IDLE
101+
TODO.txt # needs review
102+
extend.txt # about writing extensions
103+
help.html # copy of idle.html in docs, displayed by IDLE Help
104+
105+
Subdirectories
106+
--------------
107+
Icons # small image files
108+
idle_test # files for human test and automated unit tests
109+
110+
Unused and Deprecated files and objects (nim)
111+
---------------------------------------------
112+
EditorWindow.py: Helpdialog and helpDialog
113+
ToolTip.py: unused.
114+
help.txt
115+
idlever.py
116+
117+
118+
IDLE MENUS
119+
Top level items and most submenu items are defined in Bindings.
120+
Extenstions add submenu items when active. The names given are
121+
found, quoted, in one of these modules, paired with a '<<pseudoevent>>'.
122+
Each pseudoevent is bound to an event handler. Some event handlers
123+
call another function that does the actual work. The annotations below
124+
are intended to at least give the module where the actual work is done.
125+
126+
File # IOBindig except as noted
127+
New File
128+
Open... # IOBinding.open
129+
Open Module
130+
Recent Files
131+
Class Browser # Class Browser
132+
Path Browser # Path Browser
133+
---
134+
Save # IDBinding.save
135+
Save As... # IOBinding.save_as
136+
Save Copy As... # IOBindling.save_a_copy
137+
---
138+
Print Window # IOBinding.print_window
139+
---
140+
Close
141+
Exit
142+
143+
Edit
144+
Undo # undoDelegator
145+
Redo # undoDelegator
146+
---
147+
Cut
148+
Copy
149+
Paste
150+
Select All
151+
--- # Next 5 items use SearchEngine; dialogs use SearchDialogBase
152+
Find # Search Dialog
153+
Find Again
154+
Find Selection
155+
Find in Files... # GrepDialog
156+
Replace... # ReplaceDialog
157+
Go to Line
158+
Show Completions # AutoComplete extension and AutoCompleteWidow (&HP)
159+
Expand Word # AutoExpand extension
160+
Show call tip # Calltips extension and CalltipWindow (& Hyperparser)
161+
Show surrounding parens # ParenMatch (& Hyperparser)
162+
163+
Shell # PyShell
164+
View Last Restart # PyShell.?
165+
Restart Shell # PyShell.?
166+
167+
Debug (Shell only)
168+
Go to File/Line
169+
Debugger # Debugger, RemoteDebugger
170+
Stack Viewer # StackViewer
171+
Auto-open Stack Viewer # StackViewer
172+
173+
Format (Editor only)
174+
Indent Region
175+
Dedent Region
176+
Comment Out Region
177+
Uncomment Region
178+
Tabify Region
179+
Untabify Region
180+
Toggle Tabs
181+
New Indent Width
182+
Format Paragraph # FormatParagraph extension
183+
---
184+
Strip tailing whitespace # RstripExtension extension
185+
186+
Run (Editor only)
187+
Python Shell # PyShell
188+
---
189+
Check Module # ScriptBinding
190+
Run Module # ScriptBinding
191+
192+
Options
193+
Configure IDLE # configDialog
194+
(tabs in the dialog)
195+
Font tab # onfig-main.def
196+
Highlight tab # configSectionNameDialog, config-highlight.def
197+
Keys tab # keybindingDialog, configSectionNameDialog, onfig-keus.def
198+
General tab # configHelpSourceEdit, config-main.def
199+
Configure Extensions # configDialog
200+
Xyz tab # xyz.py, config-extensions.def
201+
---
202+
Code Context (editor only) # CodeContext extension
203+
204+
Window
205+
Zoomheight # ZoomHeight extension
206+
---
207+
<open windows> # WindowList
208+
209+
Help
210+
About IDLE # aboutDialog
211+
---
212+
IDLE Help # help
213+
Python Doc
214+
Turtle Demo
215+
---
216+
<other help sources>
217+
218+
<Context Menu> (right click)
219+
Defined in EditorWindow, PyShell, Output
220+
Cut
221+
Copy
222+
Paste
223+
---
224+
Go to file/line (shell and output only)
225+
Set Breakpoint (editor only)
226+
Clear Breakpoint (editor only)
227+
Defined in Debugger
228+
Go to source line
229+
Show stack frame

Lib/idlelib/help.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h3>Navigation</h3>
7575

7676
<div class="section" id="idle">
7777
<span id="id1"></span><h1>25.5. IDLE<a class="headerlink" href="#idle" title="Permalink to this headline"></a></h1>
78-
<p id="index-0">IDLE is the Python IDE built with the <a class="reference internal" href="tkinter.html#module-tkinter" title="tkinter: Interface to Tcl/Tk for graphical user interfaces"><tt class="xref py py-mod docutils literal"><span class="pre">tkinter</span></tt></a> GUI toolkit.</p>
78+
<p id="index-0">IDLE is Python&#8217;s Integrated Development and Learning Environment.</p>
7979
<p>IDLE has the following features:</p>
8080
<ul class="simple">
8181
<li>coded in 100% pure Python, using the <a class="reference internal" href="tkinter.html#module-tkinter" title="tkinter: Interface to Tcl/Tk for graphical user interfaces"><tt class="xref py py-mod docutils literal"><span class="pre">tkinter</span></tt></a> GUI toolkit</li>
@@ -699,7 +699,7 @@ <h3>Navigation</h3>
699699
The Python Software Foundation is a non-profit corporation.
700700
<a href="https://www.python.org/psf/donations/">Please donate.</a>
701701
<br />
702-
Last updated on Sep 29, 2015.
702+
Last updated on Oct 02, 2015.
703703
<a href="../bugs.html">Found a bug</a>?
704704
<br />
705705
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.2.3.

0 commit comments

Comments
 (0)