IDLE: Difference between revisions
imported>Pat Palmer m (IDLE (Python programming language) moved to IDLE: Desire not to use ( ) in names due to link spelling difficulty, and also no need to disambiguate (at present)) |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{subpages}} | |||
'''IDLE''' is a development environment for the [[Python programming language]].<ref>The name is an acronym of '''I'''ntegrated Deve'''L'''opment '''E'''nvironment. As indicated on the [http://www.python.org/idle/doc/idlemain.html official web page], the name of a member of certain British [[Monty Python|comedy group]] may be meaningful here as well.</ref> It enjoys a clean and simple user interface yet provides virtually all basic tools necessary for efficient programming. Entirely written in Python, it works on multiple platforms including [[Unix]], [[Windows]] and [[Macintosh]]. | '''IDLE''' is a development environment for the [[Python programming language]].<ref>The name is an acronym of '''I'''ntegrated Deve'''L'''opment '''E'''nvironment. As indicated on the [http://www.python.org/idle/doc/idlemain.html official web page], the name of a member of certain British [[Monty Python|comedy group]] may be meaningful here as well.</ref> It enjoys a clean and simple user interface yet provides virtually all basic tools necessary for efficient programming. Entirely written in Python, it works on multiple platforms including [[Unix]], [[Windows]] and [[Macintosh]]. | ||
Since the release 1.5.2, it is installed automatically with the standard Python bundle.<ref>here we refer to the bundle available on the official web site (see external links). A few software companies provide their own modifications of the bundle.</ref> | Since the release 1.5.2, it is installed automatically with the standard Python bundle.<ref>here we refer to the bundle available on the official web site (see external links). A few software companies provide their own modifications of the bundle.</ref> | ||
Line 7: | Line 9: | ||
Basic tool available with IDLE is a Python-compatible powerful text editor. This means not only smart indentation adapted to the python syntax requirements but also comprehensive search functions, auto-completion feature and language tips while typing. However, the editor neither allows the incremental search nor marks different indentation levels by vertical lines -- these features are often proposed by "external" Python-compatible text editors. | Basic tool available with IDLE is a Python-compatible powerful text editor. This means not only smart indentation adapted to the python syntax requirements but also comprehensive search functions, auto-completion feature and language tips while typing. However, the editor neither allows the incremental search nor marks different indentation levels by vertical lines -- these features are often proposed by "external" Python-compatible text editors. | ||
IDLE starts execution of Python code in a separate process and permits to break it in virtually any circumstances. Furthermore, it incorporates a debugger that features breakpoints, step-by-step control and full access to the stack. | IDLE starts execution of Python code in a separate process and permits to break it in virtually any circumstances. Furthermore, it incorporates a debugger that features breakpoints, step-by-step control and full access to the stack. However it is noted in the basic description of IDLE<ref>See [http://www.python.org/idle/doc/idlemain.html here]</ref> that with the ability to quickly add and test new portions of code within the interactive environment, the user may find the symbolic debugger of less use than in other languages. | ||
On notes also that at present it is not possible to pass the command line parameters to a script run from IDLE. Inserting a line of code that simulates command line invocation by setting up the sys.argv list is proposed instead. | |||
User interface is customizable: essential options include font, colours for syntax-highlighting, shortkeys and startup defaults. | User interface is customizable: essential options include font, colours for syntax-highlighting, shortkeys and startup defaults. | ||
Line 20: | Line 23: | ||
==Notes== | ==Notes== | ||
{{reflist}} | {{reflist}}[[Category:Suggestion Bot Tag]] | ||
[[Category: | |||
Latest revision as of 17:00, 30 August 2024
IDLE is a development environment for the Python programming language.[1] It enjoys a clean and simple user interface yet provides virtually all basic tools necessary for efficient programming. Entirely written in Python, it works on multiple platforms including Unix, Windows and Macintosh. Since the release 1.5.2, it is installed automatically with the standard Python bundle.[2]
Basic functionality
By default, at start up the interactive shell window appears. It should not, however, be confused with the command line prompt, another standard part of the Python installation bundle. At the shell level, IDLE provides greater functionality, including previous command search/recall and syntax highlighting.
Basic tool available with IDLE is a Python-compatible powerful text editor. This means not only smart indentation adapted to the python syntax requirements but also comprehensive search functions, auto-completion feature and language tips while typing. However, the editor neither allows the incremental search nor marks different indentation levels by vertical lines -- these features are often proposed by "external" Python-compatible text editors.
IDLE starts execution of Python code in a separate process and permits to break it in virtually any circumstances. Furthermore, it incorporates a debugger that features breakpoints, step-by-step control and full access to the stack. However it is noted in the basic description of IDLE[3] that with the ability to quickly add and test new portions of code within the interactive environment, the user may find the symbolic debugger of less use than in other languages. On notes also that at present it is not possible to pass the command line parameters to a script run from IDLE. Inserting a line of code that simulates command line invocation by setting up the sys.argv list is proposed instead.
User interface is customizable: essential options include font, colours for syntax-highlighting, shortkeys and startup defaults.
See also
- Python programming language
- GUI (graphical user interface)
External Links
- Basic description of IDLE on official pages of the Python programming language
- Easy step-by-step tutorial: how to start using Python with IDLE.
Notes
- ↑ The name is an acronym of Integrated DeveLopment Environment. As indicated on the official web page, the name of a member of certain British comedy group may be meaningful here as well.
- ↑ here we refer to the bundle available on the official web site (see external links). A few software companies provide their own modifications of the bundle.
- ↑ See here