Got rid of all references to stdwin.

Documented insertion of script directory in path.
Updated author's address.
Changed MAILING LIST section to INTERNET RESOURCES.
This commit is contained in:
Guido van Rossum 1996-07-30 19:27:05 +00:00
parent 2108a50465
commit 74faed299f
1 changed files with 17 additions and 38 deletions

View File

@ -1,12 +1,9 @@
.TH PYTHON "4 January 1995" .TH PYTHON "30 July 1996"
.SH NAME .SH NAME
python \- an interpreted, interactive, object-oriented programming language python \- an interpreted, interactive, object-oriented programming language
.SH SYNOPSIS .SH SYNOPSIS
.B python .B python
[ [
.I X11-options
]
[
.B \-d .B \-d
] ]
[ [
@ -44,7 +41,7 @@ semantics of the core language in (perhaps too) much detail.
.PP .PP
Python's basic power can be extended with your own modules written in Python's basic power can be extended with your own modules written in
C or C++. C or C++.
On some (most?) systems such modules may be dynamically loaded. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing Python is also adaptable as an extension language for existing
applications. applications.
See the internal documentation for hints. See the internal documentation for hints.
@ -77,18 +74,6 @@ Print a message each time a module is initialized, showing the place
Specify the command to execute (see next section). Specify the command to execute (see next section).
This terminates the option list (following options are passed as This terminates the option list (following options are passed as
arguments to the command). arguments to the command).
.PP
When the interpreter is configured to contain the
.I stdwin
built-in module for use with the X window system, additional command
line options common to most X applications are recognized (by STDWIN),
e.g.
.B \-display
.I displayname
and
.B \-geometry
.I widthxheight+x+y.
The complete set of options is described in the STDWIN documentation.
.SH INTERPRETER INTERFACE .SH INTERPRETER INTERFACE
The interpreter interface resembles that of the UNIX shell: when The interpreter interface resembles that of the UNIX shell: when
called with standard input connected to a tty device, it prompts for called with standard input connected to a tty device, it prompts for
@ -123,7 +108,7 @@ is used,
.I sys.argv[0] .I sys.argv[0]
contains the string contains the string
.I '-c'. .I '-c'.
Note that options interpreter by the Python interpreter or by STDWIN Note that options interpreted by the Python interpreter itself
are not placed in are not placed in
.I sys.argv. .I sys.argv.
.PP .PP
@ -148,7 +133,7 @@ These are subject to difference depending on local installation
conventions: conventions:
.IP /usr/local/bin/python .IP /usr/local/bin/python
Recommended location of the interpreter. Recommended location of the interpreter.
.IP /usr/local/lib/python .IP /usr/local/lib/python1.4
Recommended location of the directory containing the standard modules. Recommended location of the directory containing the standard modules.
.SH ENVIRONMENT VARIABLES .SH ENVIRONMENT VARIABLES
.IP PYTHONPATH .IP PYTHONPATH
@ -160,6 +145,8 @@ The default search path is installation dependent, but always begins
with `.', (for example, with `.', (for example,
.I .:/usr/local/lib/python ). .I .:/usr/local/lib/python ).
The default search path is appended to $PYTHONPATH. The default search path is appended to $PYTHONPATH.
If a script argument is given, the directory containing the script is
inserted in the path in front of $PYTHONPATH.
The search path can be manipulated from within a Python program as the The search path can be manipulated from within a Python program as the
variable variable
.I sys.path . .I sys.path .
@ -196,30 +183,22 @@ Python Tutorial
Python Library Reference Python Library Reference
.br .br
Python Reference Manual Python Reference Manual
.br
STDWIN under X11
.SH BUGS AND CAVEATS
The first time
.I stdwin
is imported, it initializes the STDWIN library.
If this initialization fails, e.g. because the display connection
fails, the interpreter aborts immediately.
.SH AUTHOR .SH AUTHOR
.nf .nf
Guido van Rossum Guido van Rossum
CWI (Centrum voor Wiskunde en Informatica) CNRI
P.O. Box 4079 1895 Preston White Drive
1009 AB Amsterdam Reston, VA 20191
The Netherlands USA
.PP .PP
E-mail: Guido.van.Rossum@cwi.nl E-mail: guido@cnri.reston.va.us, guido@python.org
.fi .fi
.SH MAILING LIST .SH INTERNET RESOURCES
There is a mailing list devoted to Python programming, bugs and Web site: http://www.python.org
design. .br
To subscribe, send mail containing your real name and e-mail address FTP site: ftp://ftp.python.org
in Internet form to .br
.I python-list-request@cwi.nl. Newsgroup: comp.lang.python
.SH COPYRIGHT .SH COPYRIGHT
Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
The Netherlands. The Netherlands.