File: idle-PVER.1.in

package info (click to toggle)
python3.5 3.5.3-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 88,448 kB
  • sloc: python: 491,123; ansic: 410,863; sh: 17,674; asm: 14,322; cpp: 4,123; makefile: 2,255; objc: 761; lisp: 502; exp: 499; pascal: 85; xml: 74; csh: 21
file content (104 lines) | stat: -rw-r--r-- 2,512 bytes parent folder | download | duplicates (37)
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
.TH IDLE 1 "21 September 2004"
.SH NAME
\fBIDLE\fP \- An Integrated DeveLopment Environment for Python
.SH SYNTAX
.B idle [ \fI-dins\fP ] [ \fI-t title\fP ] [ \fIfile\fP ...]
.PP
.B idle [ \fI-dins\fP ] [ \fI-t title\fP ] ( \fI-c cmd\fP | \fI-r file\fP ) [ \fIarg\fP ...]
.PP
.B idle [ \fI-dins\fP ] [ \fI-t title\fP ] - [ \fIarg\fP ...]
.SH DESCRIPTION
This manual page documents briefly the
.BR idle
command.
This manual page was written for Debian
because the original program does not have a manual page.
For more information, refer to IDLE's help menu.
.PP
.B IDLE
is an Integrated DeveLopment Environment for Python. IDLE is based on
Tkinter, Python's bindings to the Tk widget set. Features are 100% pure
Python, multi-windows with multiple undo and Python colorizing, a Python
shell window subclass, a debugger. IDLE is cross-platform, i.e. it works
on all platforms where Tk is installed.
.LP
.SH OPTIONS
.TP
.B \-h
.PD
Print this help message and exit.
.TP
.B \-n
.PD
Run IDLE without a subprocess (see Help/IDLE Help for details).
.PP
The following options will override the IDLE 'settings' configuration:
.TP
.B \-e
.PD
Open an edit window.
.TP
.B \-i
.PD
Open a shell window.
.PP
The following options imply -i and will open a shell:
.TP
.B \-c cmd
.PD
Run the command in a shell, or
.TP
.B \-r file
.PD
Run script from file.
.PP
.TP
.B \-d
.PD
Enable the debugger.
.TP
.B \-s
.PD
Run $IDLESTARTUP or $PYTHONSTARTUP before anything else.
.TP
.B \-t title
.PD
Set title of shell window.
.PP
A default edit window will be bypassed when -c, -r, or - are used.
.PP
[arg]* and [file]* are passed to the command (-c) or script (-r) in sys.argv[1:].
.SH EXAMPLES
.TP
idle
.PD
Open an edit window or shell depending on IDLE's configuration.
.TP
idle foo.py foobar.py
.PD
Edit the files, also open a shell if configured to start with shell.
.TP
idle -est "Baz" foo.py
.PD
Run $IDLESTARTUP or $PYTHONSTARTUP, edit foo.py, and open a shell
window with the title "Baz".
.TP
idle -c "import sys; print sys.argv" "foo"
.PD
Open a shell window and run the command, passing "-c" in sys.argv[0]
and "foo" in sys.argv[1].
.TP
idle -d -s -r foo.py "Hello World"
.PD
Open a shell window, run a startup script, enable the debugger, and
run foo.py, passing "foo.py" in sys.argv[0] and "Hello World" in
sys.argv[1].
.TP
echo "import sys; print sys.argv" | idle - "foobar"
.PD
Open a shell window, run the script piped in, passing '' in sys.argv[0]
and "foobar" in sys.argv[1].
.SH SEE ALSO
python(1).
.SH AUTHORS
Various.