| Guido van Rossum | 97bac53 | 2001-09-05 18:57:51 +0000 | [diff] [blame] | 1 | .TH PYTHON "1" "$Date$" | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 2 | .SH NAME | 
|  | 3 | python \- an interpreted, interactive, object-oriented programming language | 
|  | 4 | .SH SYNOPSIS | 
|  | 5 | .B python | 
|  | 6 | [ | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 7 | .B \-d | 
|  | 8 | ] | 
|  | 9 | [ | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 10 | .B \-E | 
|  | 11 | ] | 
|  | 12 | [ | 
|  | 13 | .B \-h | 
|  | 14 | ] | 
|  | 15 | [ | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 16 | .B \-i | 
|  | 17 | ] | 
|  | 18 | [ | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 19 | .B \-O | 
|  | 20 | ] | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 21 | .br | 
|  | 22 | [ | 
|  | 23 | .B -Q | 
|  | 24 | .I argument | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 25 | ] | 
|  | 26 | [ | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 27 | .B \-S | 
| Neil Schemenauer | 7d4bb9f | 2001-07-23 16:30:27 +0000 | [diff] [blame] | 28 | ] | 
|  | 29 | [ | 
| Guido van Rossum | 29d465b | 1998-04-10 19:36:09 +0000 | [diff] [blame] | 30 | .B \-t | 
|  | 31 | ] | 
|  | 32 | [ | 
| Guido van Rossum | ef5bca3 | 1994-05-03 14:15:32 +0000 | [diff] [blame] | 33 | .B \-u | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 34 | ] | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 35 | .br | 
|  | 36 | [ | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 37 | .B \-v | 
|  | 38 | ] | 
| Guido van Rossum | 07c44c7 | 1998-04-10 19:46:00 +0000 | [diff] [blame] | 39 | [ | 
| Barry Warsaw | 6456937 | 2000-09-15 18:39:09 +0000 | [diff] [blame] | 40 | .B \-V | 
|  | 41 | ] | 
| Guido van Rossum | 1378c32 | 2000-12-19 03:21:54 +0000 | [diff] [blame] | 42 | [ | 
|  | 43 | .B \-W | 
|  | 44 | .I argument | 
|  | 45 | ] | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 46 | [ | 
|  | 47 | .B \-x | 
|  | 48 | ] | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 49 | .br | 
|  | 50 | [ | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 51 | .B \-c | 
|  | 52 | .I command | 
|  | 53 | | | 
|  | 54 | .I script | 
|  | 55 | | | 
|  | 56 | \- | 
|  | 57 | ] | 
|  | 58 | [ | 
|  | 59 | .I arguments | 
|  | 60 | ] | 
|  | 61 | .SH DESCRIPTION | 
|  | 62 | Python is an interpreted, interactive, object-oriented programming | 
|  | 63 | language that combines remarkable power with very clear syntax. | 
|  | 64 | For an introduction to programming in Python you are referred to the | 
|  | 65 | Python Tutorial. | 
|  | 66 | The Python Library Reference documents built-in and standard types, | 
|  | 67 | constants, functions and modules. | 
|  | 68 | Finally, the Python Reference Manual describes the syntax and | 
|  | 69 | semantics of the core language in (perhaps too) much detail. | 
| Guido van Rossum | f4a090d | 2000-09-01 20:36:34 +0000 | [diff] [blame] | 70 | (These documents may be located via the | 
|  | 71 | .B "INTERNET RESOURCES" | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 72 | below; they may be installed on your system as well.) | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 73 | .PP | 
|  | 74 | Python's basic power can be extended with your own modules written in | 
|  | 75 | C or C++. | 
| Guido van Rossum | 74faed2 | 1996-07-30 19:27:05 +0000 | [diff] [blame] | 76 | On most systems such modules may be dynamically loaded. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 77 | Python is also adaptable as an extension language for existing | 
|  | 78 | applications. | 
|  | 79 | See the internal documentation for hints. | 
| Andrew M. Kuchling | 88717f4 | 2001-04-05 14:50:40 +0000 | [diff] [blame] | 80 | .PP | 
|  | 81 | Documentation for installed Python modules and packages can be | 
|  | 82 | viewed by running the | 
|  | 83 | .B pydoc | 
|  | 84 | program. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 85 | .SH COMMAND LINE OPTIONS | 
|  | 86 | .TP | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 87 | .BI "\-c " command | 
|  | 88 | Specify the command to execute (see next section). | 
|  | 89 | This terminates the option list (following options are passed as | 
|  | 90 | arguments to the command). | 
|  | 91 | .TP | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 92 | .B \-d | 
|  | 93 | Turn on parser debugging output (for wizards only, depending on | 
|  | 94 | compilation options). | 
| Guido van Rossum | 9f65ae0 | 1994-02-23 09:10:27 +0000 | [diff] [blame] | 95 | .TP | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 96 | .B \-E | 
|  | 97 | Ignore environment variables like PYTHONPATH and PYTHONHOME that modify | 
|  | 98 | the behavior of the interpreter. | 
|  | 99 | .TP | 
|  | 100 | .B \-h | 
|  | 101 | Prints the usage for the interpreter executable and exits. | 
|  | 102 | .TP | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 103 | .B \-i | 
|  | 104 | When a script is passed as first argument or the \fB\-c\fP option is | 
|  | 105 | used, enter interactive mode after executing the script or the | 
| Guido van Rossum | 9f65ae0 | 1994-02-23 09:10:27 +0000 | [diff] [blame] | 106 | command.  It does not read the $PYTHONSTARTUP file.  This can be | 
|  | 107 | useful to inspect global variables or a stack trace when a script | 
|  | 108 | raises an exception. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 109 | .TP | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 110 | .B \-O | 
|  | 111 | Turn on basic optimizations.  This changes the filename extension for | 
|  | 112 | compiled (bytecode) files from | 
|  | 113 | .I .pyc | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 114 | to \fI.pyo\fP.  Given twice, causes docstrings to be discarded. | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 115 | .TP | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 116 | .BI "\-Q " argument | 
|  | 117 | Division control; see PEP 238.  The argument must be one of "old" (the | 
|  | 118 | default, int/int and long/long return an int or long), "new" (new | 
|  | 119 | division semantics, i.e. int/int and long/long returns a float), | 
|  | 120 | "warn" (old division semantics with a warning for int/int and | 
|  | 121 | long/long), or "warnall" (old division semantics with a warning for | 
|  | 122 | all use of the division operator).  For a use of "warnall", see the | 
|  | 123 | Tools/scripts/fixdiv.py script. | 
|  | 124 | .TP | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 125 | .B \-S | 
|  | 126 | Disable the import of the module | 
|  | 127 | .I site | 
|  | 128 | and the site-dependent manipulations of | 
|  | 129 | .I sys.path | 
|  | 130 | that it entails. | 
|  | 131 | .TP | 
| Guido van Rossum | 29d465b | 1998-04-10 19:36:09 +0000 | [diff] [blame] | 132 | .B \-t | 
|  | 133 | Issue a warning when a source file mixes tabs and spaces for | 
|  | 134 | indentation in a way that makes it depend on the worth of a tab | 
|  | 135 | expressed in spaces.  Issue an error when the option is given twice. | 
|  | 136 | .TP | 
| Guido van Rossum | ef5bca3 | 1994-05-03 14:15:32 +0000 | [diff] [blame] | 137 | .B \-u | 
| Sjoerd Mullender | b6434f2 | 2002-08-09 13:37:31 +0000 | [diff] [blame] | 138 | Force stdin, stdout and stderr to be totally unbuffered.  On systems | 
|  | 139 | where it matters, also put stdin, stdout and stderr in binary mode. | 
|  | 140 | Note that there is internal buffering in xreadlines(), readlines() and | 
|  | 141 | file-object iterators ("for line in sys.stdin") which is not | 
|  | 142 | influenced by this option.  To work around this, you will want to use | 
|  | 143 | "sys.stdin.readline()" inside a "while 1:" loop. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 144 | .TP | 
|  | 145 | .B \-v | 
|  | 146 | Print a message each time a module is initialized, showing the place | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 147 | (filename or built-in module) from which it is loaded.  When given | 
|  | 148 | twice, print a message for each file that is checked for when | 
|  | 149 | searching for a module.  Also provides information on module cleanup | 
|  | 150 | at exit. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 151 | .TP | 
| Barry Warsaw | 6456937 | 2000-09-15 18:39:09 +0000 | [diff] [blame] | 152 | .B \-V | 
|  | 153 | Prints the Python version number of the executable and exits. | 
|  | 154 | .TP | 
| Guido van Rossum | 1378c32 | 2000-12-19 03:21:54 +0000 | [diff] [blame] | 155 | .BI "\-W " argument | 
|  | 156 | Warning control.  Python sometimes prints warning message to | 
|  | 157 | .IR sys.stderr . | 
|  | 158 | A typical warning message has the following form: | 
|  | 159 | .IB file ":" line ": " category ": " message. | 
|  | 160 | By default, each warning is printed once for each source line where it | 
|  | 161 | occurs.  This option controls how often warnings are printed. | 
|  | 162 | Multiple | 
|  | 163 | .B \-W | 
|  | 164 | options may be given; when a warning matches more than one | 
|  | 165 | option, the action for the last matching option is performed. | 
|  | 166 | Invalid | 
|  | 167 | .B \-W | 
|  | 168 | options are ignored (a warning message is printed about invalid | 
|  | 169 | options when the first warning is issued).  Warnings can also be | 
|  | 170 | controlled from within a Python program using the | 
|  | 171 | .I warnings | 
|  | 172 | module. | 
|  | 173 |  | 
|  | 174 | The simplest form of | 
|  | 175 | .I argument | 
|  | 176 | is one of the following | 
|  | 177 | .I action | 
|  | 178 | strings (or a unique abbreviation): | 
|  | 179 | .B ignore | 
|  | 180 | to ignore all warnings; | 
|  | 181 | .B default | 
|  | 182 | to explicitly request the default behavior (printing each warning once | 
|  | 183 | per source line); | 
|  | 184 | .B all | 
|  | 185 | to print a warning each time it occurs (this may generate many | 
|  | 186 | messages if a warning is triggered repeatedly for the same source | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 187 | line, such as inside a loop); | 
| Guido van Rossum | 1378c32 | 2000-12-19 03:21:54 +0000 | [diff] [blame] | 188 | .B module | 
|  | 189 | to print each warning only only the first time it occurs in each | 
|  | 190 | module; | 
|  | 191 | .B once | 
|  | 192 | to print each warning only the first time it occurs in the program; or | 
|  | 193 | .B error | 
|  | 194 | to raise an exception instead of printing a warning message. | 
|  | 195 |  | 
|  | 196 | The full form of | 
|  | 197 | .I argument | 
|  | 198 | is | 
|  | 199 | .IB action : message : category : module : line. | 
|  | 200 | Here, | 
|  | 201 | .I action | 
|  | 202 | is as explained above but only applies to messages that match the | 
|  | 203 | remaining fields.  Empty fields match all values; trailing empty | 
|  | 204 | fields may be omitted.  The | 
|  | 205 | .I message | 
|  | 206 | field matches the start of the warning message printed; this match is | 
|  | 207 | case-insensitive.  The | 
|  | 208 | .I category | 
|  | 209 | field matches the warning category.  This must be a class name; the | 
|  | 210 | match test whether the actual warning category of the message is a | 
|  | 211 | subclass of the specified warning category.  The full class name must | 
|  | 212 | be given.  The | 
|  | 213 | .I module | 
|  | 214 | field matches the (fully-qualified) module name; this match is | 
|  | 215 | case-sensitive.  The | 
|  | 216 | .I line | 
|  | 217 | field matches the line number, where zero matches all line numbers and | 
|  | 218 | is thus equivalent to an omitted line number. | 
|  | 219 | .TP | 
| Guido van Rossum | b674baf | 2001-09-05 18:55:34 +0000 | [diff] [blame] | 220 | .B \-x | 
|  | 221 | Skip the first line of the source.  This is intended for a DOS | 
|  | 222 | specific hack only.  Warning: the line numbers in error messages will | 
|  | 223 | be off by one! | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 224 | .SH INTERPRETER INTERFACE | 
|  | 225 | The interpreter interface resembles that of the UNIX shell: when | 
|  | 226 | called with standard input connected to a tty device, it prompts for | 
|  | 227 | commands and executes them until an EOF is read; when called with a | 
|  | 228 | file name argument or with a file as standard input, it reads and | 
|  | 229 | executes a | 
|  | 230 | .I script | 
|  | 231 | from that file; | 
|  | 232 | when called with | 
|  | 233 | .B \-c | 
|  | 234 | .I command, | 
|  | 235 | it executes the Python statement(s) given as | 
|  | 236 | .I command. | 
|  | 237 | Here | 
|  | 238 | .I command | 
|  | 239 | may contain multiple statements separated by newlines. | 
|  | 240 | Leading whitespace is significant in Python statements! | 
|  | 241 | In non-interactive mode, the entire input is parsed befored it is | 
|  | 242 | executed. | 
|  | 243 | .PP | 
|  | 244 | If available, the script name and additional arguments thereafter are | 
|  | 245 | passed to the script in the Python variable | 
|  | 246 | .I sys.argv , | 
|  | 247 | which is a list of strings (you must first | 
|  | 248 | .I import sys | 
|  | 249 | to be able to access it). | 
|  | 250 | If no script name is given, | 
| Guido van Rossum | f4a090d | 2000-09-01 20:36:34 +0000 | [diff] [blame] | 251 | .I sys.argv[0] | 
|  | 252 | is an empty string; if | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 253 | .B \-c | 
|  | 254 | is used, | 
|  | 255 | .I sys.argv[0] | 
|  | 256 | contains the string | 
|  | 257 | .I '-c'. | 
| Guido van Rossum | 74faed2 | 1996-07-30 19:27:05 +0000 | [diff] [blame] | 258 | Note that options interpreted by the Python interpreter itself | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 259 | are not placed in | 
|  | 260 | .I sys.argv. | 
|  | 261 | .PP | 
|  | 262 | In interactive mode, the primary prompt is `>>>'; the second prompt | 
|  | 263 | (which appears when a command is not complete) is `...'. | 
|  | 264 | The prompts can be changed by assignment to | 
|  | 265 | .I sys.ps1 | 
|  | 266 | or | 
|  | 267 | .I sys.ps2. | 
|  | 268 | The interpreter quits when it reads an EOF at a prompt. | 
|  | 269 | When an unhandled exception occurs, a stack trace is printed and | 
|  | 270 | control returns to the primary prompt; in non-interactive mode, the | 
|  | 271 | interpreter exits after printing the stack trace. | 
|  | 272 | The interrupt signal raises the | 
|  | 273 | .I Keyboard\%Interrupt | 
|  | 274 | exception; other UNIX signals are not caught (except that SIGPIPE is | 
|  | 275 | sometimes ignored, in favor of the | 
|  | 276 | .I IOError | 
|  | 277 | exception).  Error messages are written to stderr. | 
|  | 278 | .SH FILES AND DIRECTORIES | 
|  | 279 | These are subject to difference depending on local installation | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 280 | conventions; ${prefix} and ${exec_prefix} are installation-dependent | 
|  | 281 | and should be interpreted as for GNU software; they may be the same. | 
|  | 282 | The default for both is \fI/usr/local\fP. | 
|  | 283 | .IP \fI${exec_prefix}/bin/python\fP | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 284 | Recommended location of the interpreter. | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 285 | .PP | 
|  | 286 | .I ${prefix}/lib/python<version> | 
|  | 287 | .br | 
|  | 288 | .I ${exec_prefix}/lib/python<version> | 
|  | 289 | .RS | 
|  | 290 | Recommended locations of the directories containing the standard | 
|  | 291 | modules. | 
|  | 292 | .RE | 
|  | 293 | .PP | 
|  | 294 | .I ${prefix}/include/python<version> | 
|  | 295 | .br | 
|  | 296 | .I ${exec_prefix}/include/python<version> | 
|  | 297 | .RS | 
|  | 298 | Recommended locations of the directories containing the include files | 
|  | 299 | needed for developing Python extensions and embedding the | 
|  | 300 | interpreter. | 
|  | 301 | .RE | 
|  | 302 | .IP \fI~/.pythonrc.py\fP | 
|  | 303 | User-specific initialization file loaded by the \fIuser\fP module; | 
|  | 304 | not used by default or by most applications. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 305 | .SH ENVIRONMENT VARIABLES | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 306 | .IP PYTHONHOME | 
|  | 307 | Change the location of the standard Python libraries.  By default, the | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 308 | libraries are searched in ${prefix}/lib/python<version> and | 
|  | 309 | ${exec_prefix}/lib/python<version>, where ${prefix} and ${exec_prefix} | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 310 | are installation-dependent directories, both defaulting to | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 311 | \fI/usr/local\fP.  When $PYTHONHOME is set to a single directory, its value | 
|  | 312 | replaces both ${prefix} and ${exec_prefix}.  To specify different values | 
|  | 313 | for these, set $PYTHONHOME to ${prefix}:${exec_prefix}. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 314 | .IP PYTHONPATH | 
|  | 315 | Augments the default search path for module files. | 
|  | 316 | The format is the same as the shell's $PATH: one or more directory | 
|  | 317 | pathnames separated by colons. | 
|  | 318 | Non-existant directories are silently ignored. | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 319 | The default search path is installation dependent, but generally | 
| Fred Drake | 4c9be9d | 1999-08-20 13:10:20 +0000 | [diff] [blame] | 320 | begins with ${prefix}/lib/python<version> (see PYTHONHOME above). | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 321 | The default search path is always appended to $PYTHONPATH. | 
| Guido van Rossum | 74faed2 | 1996-07-30 19:27:05 +0000 | [diff] [blame] | 322 | If a script argument is given, the directory containing the script is | 
|  | 323 | inserted in the path in front of $PYTHONPATH. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 324 | The search path can be manipulated from within a Python program as the | 
|  | 325 | variable | 
|  | 326 | .I sys.path . | 
|  | 327 | .IP PYTHONSTARTUP | 
|  | 328 | If this is the name of a readable file, the Python commands in that | 
|  | 329 | file are executed before the first prompt is displayed in interactive | 
|  | 330 | mode. | 
|  | 331 | The file is executed in the same name space where interactive commands | 
|  | 332 | are executed so that objects defined or imported in it can be used | 
|  | 333 | without qualification in the interactive session. | 
|  | 334 | You can also change the prompts | 
|  | 335 | .I sys.ps1 | 
|  | 336 | and | 
|  | 337 | .I sys.ps2 | 
|  | 338 | in this file. | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 339 | .IP PYTHONY2K | 
|  | 340 | Set this to a non-empty string to cause the \fItime\fP module to | 
|  | 341 | require dates specified as strings to include 4-digit years, otherwise | 
|  | 342 | 2-digit years are converted based on rules described in the \fItime\fP | 
| Andrew M. Kuchling | b2cb37f | 2002-05-09 14:33:18 +0000 | [diff] [blame] | 343 | module documentation. | 
| Guido van Rossum | 9abaf4d | 2001-10-12 22:17:56 +0000 | [diff] [blame] | 344 | .IP PYTHONOPTIMIZE | 
|  | 345 | If this is set to a non-empty string it is equivalent to specifying | 
|  | 346 | the \fB\-O\fP option. If set to an integer, it is equivalent to | 
|  | 347 | specifying \fB\-O\fP multiple times. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 348 | .IP PYTHONDEBUG | 
|  | 349 | If this is set to a non-empty string it is equivalent to specifying | 
| Guido van Rossum | 9abaf4d | 2001-10-12 22:17:56 +0000 | [diff] [blame] | 350 | the \fB\-d\fP option. If set to an integer, it is equivalent to | 
|  | 351 | specifying \fB\-d\fP multiple times. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 352 | .IP PYTHONINSPECT | 
|  | 353 | If this is set to a non-empty string it is equivalent to specifying | 
|  | 354 | the \fB\-i\fP option. | 
| Guido van Rossum | ef5bca3 | 1994-05-03 14:15:32 +0000 | [diff] [blame] | 355 | .IP PYTHONUNBUFFERED | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 356 | If this is set to a non-empty string it is equivalent to specifying | 
| Guido van Rossum | ef5bca3 | 1994-05-03 14:15:32 +0000 | [diff] [blame] | 357 | the \fB\-u\fP option. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 358 | .IP PYTHONVERBOSE | 
|  | 359 | If this is set to a non-empty string it is equivalent to specifying | 
| Guido van Rossum | 9abaf4d | 2001-10-12 22:17:56 +0000 | [diff] [blame] | 360 | the \fB\-v\fP option. If set to an integer, it is equivalent to | 
|  | 361 | specifying \fB\-v\fP multiple times. | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 362 | .SH AUTHOR | 
|  | 363 | .nf | 
|  | 364 | Guido van Rossum | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 365 | .PP | 
| Guido van Rossum | 1378c32 | 2000-12-19 03:21:54 +0000 | [diff] [blame] | 366 | E-mail: guido@python.org | 
| Guido van Rossum | a7925f1 | 1994-01-26 10:20:16 +0000 | [diff] [blame] | 367 | .fi | 
| Guido van Rossum | 4cf4de5 | 1997-09-08 04:06:15 +0000 | [diff] [blame] | 368 | .PP | 
|  | 369 | And a cast of thousands. | 
| Guido van Rossum | 74faed2 | 1996-07-30 19:27:05 +0000 | [diff] [blame] | 370 | .SH INTERNET RESOURCES | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 371 | Main website:  http://www.python.org/ | 
| Guido van Rossum | 74faed2 | 1996-07-30 19:27:05 +0000 | [diff] [blame] | 372 | .br | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 373 | Documentation:  http://www.python.org/doc/ | 
| Guido van Rossum | f4a090d | 2000-09-01 20:36:34 +0000 | [diff] [blame] | 374 | .br | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 375 | Community website:  http://starship.python.net/ | 
| Guido van Rossum | f4a090d | 2000-09-01 20:36:34 +0000 | [diff] [blame] | 376 | .br | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 377 | Developer resources:  http://sourceforge.net/project/python/ | 
| Guido van Rossum | f4a090d | 2000-09-01 20:36:34 +0000 | [diff] [blame] | 378 | .br | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 379 | FTP:  ftp://ftp.python.org/pub/python/ | 
| Guido van Rossum | f4a090d | 2000-09-01 20:36:34 +0000 | [diff] [blame] | 380 | .br | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 381 | Module repository:  http://www.vex.net/parnassus/ | 
| Guido van Rossum | 74faed2 | 1996-07-30 19:27:05 +0000 | [diff] [blame] | 382 | .br | 
| Fred Drake | bd2e3b0 | 2001-07-26 21:25:58 +0000 | [diff] [blame] | 383 | Newsgroups:  comp.lang.python, comp.lang.python.announce | 
| Guido van Rossum | f4a090d | 2000-09-01 20:36:34 +0000 | [diff] [blame] | 384 | .SH LICENSING | 
|  | 385 | Python is distributed under an Open Source license.  See the file | 
|  | 386 | "LICENSE" in the Python source distribution for information on terms & | 
|  | 387 | conditions for accessing and otherwise using Python and for a | 
|  | 388 | DISCLAIMER OF ALL WARRANTIES. |