annotate Misc/python.man @ 2068:5227324d64e4 legacy-trunk

Added 1995 to copyright message; added a few people to acks again...
author Guido van Rossum <guido@python.org>
date Wed, 04 Jan 1995 19:21:21 +0000
parents 4def934ff75b
children 2838db83d0ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2068
5227324d64e4 Added 1995 to copyright message; added a few people to acks again...
Guido van Rossum <guido@python.org>
parents: 1656
diff changeset
1 .TH PYTHON "4 January 1995"
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 .SH NAME
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 python \- an interpreted, interactive, object-oriented programming language
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 .SH SYNOPSIS
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 .B python
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
6 [
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 .I X11-options
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 ]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 [
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 .B \-d
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 ]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 [
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 .B \-i
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 ]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 [
1656
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
16 .B \-s
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
17 ]
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
18 [
1601
57b9b77da21b Documented -u (unbuffered), undocumented -k (killprint)
Guido van Rossum <guido@python.org>
parents: 1559
diff changeset
19 .B \-u
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 ]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 [
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 .B \-v
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 ]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 [
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 .B \-c
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 .I command
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 |
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 .I script
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 |
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 \-
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 ]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 [
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 .I arguments
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
34 ]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 .SH DESCRIPTION
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 Python is an interpreted, interactive, object-oriented programming
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
37 language that combines remarkable power with very clear syntax.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 For an introduction to programming in Python you are referred to the
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 Python Tutorial.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 The Python Library Reference documents built-in and standard types,
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 constants, functions and modules.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 Finally, the Python Reference Manual describes the syntax and
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 semantics of the core language in (perhaps too) much detail.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 .PP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
45 Python's basic power can be extended with your own modules written in
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 C or C++.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
47 On some (most?) systems such modules may be dynamically loaded.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 Python is also adaptable as an extension language for existing
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 applications.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 See the internal documentation for hints.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 .SH COMMAND LINE OPTIONS
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 .TP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 .B \-d
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 Turn on parser debugging output (for wizards only, depending on
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
55 compilation options).
1559
df0fb788c0c1 Fix weird messed up paragraphs
Guido van Rossum <guido@python.org>
parents: 1529
diff changeset
56 .TP
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
57 .B \-i
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
58 When a script is passed as first argument or the \fB\-c\fP option is
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 used, enter interactive mode after executing the script or the
1559
df0fb788c0c1 Fix weird messed up paragraphs
Guido van Rossum <guido@python.org>
parents: 1529
diff changeset
60 command. It does not read the $PYTHONSTARTUP file. This can be
df0fb788c0c1 Fix weird messed up paragraphs
Guido van Rossum <guido@python.org>
parents: 1529
diff changeset
61 useful to inspect global variables or a stack trace when a script
df0fb788c0c1 Fix weird messed up paragraphs
Guido van Rossum <guido@python.org>
parents: 1529
diff changeset
62 raises an exception.
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
63 .TP
1656
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
64 .B \-s
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
65 Suppresses the automatic printing of expressions entered in
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
66 interactive mode (useful when input is actually generated e.g. by
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
67 Emacs).
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
68 .TP
1601
57b9b77da21b Documented -u (unbuffered), undocumented -k (killprint)
Guido van Rossum <guido@python.org>
parents: 1559
diff changeset
69 .B \-u
57b9b77da21b Documented -u (unbuffered), undocumented -k (killprint)
Guido van Rossum <guido@python.org>
parents: 1559
diff changeset
70 Force stdout and stderr to be totally unbuffered.
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
71 .TP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
72 .B \-v
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
73 Print a message each time a module is initialized, showing the place
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
74 (filename or built-in module) from which it is loaded.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
75 .TP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
76 .BI "\-c " command
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
77 Specify the command to execute (see next section).
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
78 This terminates the option list (following options are passed as
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
79 arguments to the command).
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
80 .PP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
81 When the interpreter is configured to contain the
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
82 .I stdwin
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
83 built-in module for use with the X window system, additional command
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
84 line options common to most X applications are recognized (by STDWIN),
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
85 e.g.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
86 .B \-display
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
87 .I displayname
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
88 and
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
89 .B \-geometry
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
90 .I widthxheight+x+y.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
91 The complete set of options is described in the STDWIN documentation.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
92 .SH INTERPRETER INTERFACE
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
93 The interpreter interface resembles that of the UNIX shell: when
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
94 called with standard input connected to a tty device, it prompts for
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
95 commands and executes them until an EOF is read; when called with a
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
96 file name argument or with a file as standard input, it reads and
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
97 executes a
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
98 .I script
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
99 from that file;
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
100 when called with
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
101 .B \-c
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
102 .I command,
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
103 it executes the Python statement(s) given as
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
104 .I command.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
105 Here
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
106 .I command
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
107 may contain multiple statements separated by newlines.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
108 Leading whitespace is significant in Python statements!
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
109 In non-interactive mode, the entire input is parsed befored it is
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
110 executed.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
111 .PP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
112 If available, the script name and additional arguments thereafter are
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
113 passed to the script in the Python variable
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
114 .I sys.argv ,
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
115 which is a list of strings (you must first
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
116 .I import sys
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
117 to be able to access it).
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
118 If no script name is given,
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
119 .I sys.argv
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
120 is empty; if
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
121 .B \-c
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
122 is used,
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
123 .I sys.argv[0]
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
124 contains the string
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
125 .I '-c'.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
126 Note that options interpreter by the Python interpreter or by STDWIN
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
127 are not placed in
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
128 .I sys.argv.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
129 .PP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
130 In interactive mode, the primary prompt is `>>>'; the second prompt
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
131 (which appears when a command is not complete) is `...'.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
132 The prompts can be changed by assignment to
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
133 .I sys.ps1
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
134 or
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
135 .I sys.ps2.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
136 The interpreter quits when it reads an EOF at a prompt.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
137 When an unhandled exception occurs, a stack trace is printed and
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
138 control returns to the primary prompt; in non-interactive mode, the
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
139 interpreter exits after printing the stack trace.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
140 The interrupt signal raises the
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
141 .I Keyboard\%Interrupt
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
142 exception; other UNIX signals are not caught (except that SIGPIPE is
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
143 sometimes ignored, in favor of the
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
144 .I IOError
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
145 exception). Error messages are written to stderr.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
146 .SH FILES AND DIRECTORIES
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
147 These are subject to difference depending on local installation
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
148 conventions:
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
149 .IP /usr/local/bin/python
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
150 Recommended location of the interpreter.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
151 .IP /usr/local/lib/python
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
152 Recommended location of the directory containing the standard modules.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
153 .SH ENVIRONMENT VARIABLES
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
154 .IP PYTHONPATH
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
155 Augments the default search path for module files.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
156 The format is the same as the shell's $PATH: one or more directory
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
157 pathnames separated by colons.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
158 Non-existant directories are silently ignored.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
159 The default search path is installation dependent, but always begins
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
160 with `.', (for example,
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
161 .I .:/usr/local/lib/python ).
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
162 The default search path is appended to $PYTHONPATH.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
163 The search path can be manipulated from within a Python program as the
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
164 variable
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
165 .I sys.path .
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
166 .IP PYTHONSTARTUP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
167 If this is the name of a readable file, the Python commands in that
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
168 file are executed before the first prompt is displayed in interactive
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
169 mode.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
170 The file is executed in the same name space where interactive commands
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
171 are executed so that objects defined or imported in it can be used
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
172 without qualification in the interactive session.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
173 You can also change the prompts
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
174 .I sys.ps1
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
175 and
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
176 .I sys.ps2
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
177 in this file.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
178 .IP PYTHONDEBUG
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
179 If this is set to a non-empty string it is equivalent to specifying
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
180 the \fB\-d\fP option.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
181 .IP PYTHONINSPECT
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
182 If this is set to a non-empty string it is equivalent to specifying
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
183 the \fB\-i\fP option.
1656
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
184 .IP PYTHONSUPPRESS
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
185 If this is set to a non-empty string it is equivalent to specifying
4def934ff75b Document -s option -- suppress printing of top-level expressions
Guido van Rossum <guido@python.org>
parents: 1601
diff changeset
186 the \fB\-s\fP option.
1601
57b9b77da21b Documented -u (unbuffered), undocumented -k (killprint)
Guido van Rossum <guido@python.org>
parents: 1559
diff changeset
187 .IP PYTHONUNBUFFERED
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
188 If this is set to a non-empty string it is equivalent to specifying
1601
57b9b77da21b Documented -u (unbuffered), undocumented -k (killprint)
Guido van Rossum <guido@python.org>
parents: 1559
diff changeset
189 the \fB\-u\fP option.
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
190 .IP PYTHONVERBOSE
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
191 If this is set to a non-empty string it is equivalent to specifying
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
192 the \fB\-v\fP option.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
193 .SH SEE ALSO
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
194 Python Tutorial
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
195 .br
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
196 Python Library Reference
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
197 .br
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
198 Python Reference Manual
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
199 .br
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
200 STDWIN under X11
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
201 .SH BUGS AND CAVEATS
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
202 The first time
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
203 .I stdwin
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
204 is imported, it initializes the STDWIN library.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
205 If this initialization fails, e.g. because the display connection
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
206 fails, the interpreter aborts immediately.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
207 .SH AUTHOR
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
208 .nf
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
209 Guido van Rossum
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
210 CWI (Centrum voor Wiskunde en Informatica)
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
211 P.O. Box 4079
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
212 1009 AB Amsterdam
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
213 The Netherlands
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
214 .PP
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
215 E-mail: Guido.van.Rossum@cwi.nl
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
216 .fi
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
217 .SH MAILING LIST
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
218 There is a mailing list devoted to Python programming, bugs and
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
219 design.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
220 To subscribe, send mail containing your real name and e-mail address
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
221 in Internet form to
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
222 .I python-list-request@cwi.nl.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
223 .SH COPYRIGHT
2068
5227324d64e4 Added 1995 to copyright message; added a few people to acks again...
Guido van Rossum <guido@python.org>
parents: 1656
diff changeset
224 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
5227324d64e4 Added 1995 to copyright message; added a few people to acks again...
Guido van Rossum <guido@python.org>
parents: 1656
diff changeset
225 The Netherlands.
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
226 .IP " "
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
227 All Rights Reserved
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
228 .PP
2068
5227324d64e4 Added 1995 to copyright message; added a few people to acks again...
Guido van Rossum <guido@python.org>
parents: 1656
diff changeset
229 Permission to use, copy, modify, and distribute this software and its
5227324d64e4 Added 1995 to copyright message; added a few people to acks again...
Guido van Rossum <guido@python.org>
parents: 1656
diff changeset
230 documentation for any purpose and without fee is hereby granted,
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
231 provided that the above copyright notice appear in all copies and that
2068
5227324d64e4 Added 1995 to copyright message; added a few people to acks again...
Guido van Rossum <guido@python.org>
parents: 1656
diff changeset
232 both that copyright notice and this permission notice appear in
1529
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
233 supporting documentation, and that the names of Stichting Mathematisch
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
234 Centrum or CWI not be used in advertising or publicity pertaining to
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
235 distribution of the software without specific, written prior permission.
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
236
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
237 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
238 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
239 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
240 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
241 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
242 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
c9b3f77e18ba Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
243 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.