@@ -159,12 +159,12 @@ calling python interactively. You need to configure build the GNU
159159readline library before running the configure script. Its sources are
160160not distributed with Python; you can ftp them from any GNU mirror
161161site, or from its home site:
162- ftp://slc2.ins.cwru.edu/pub/dist/readline-2.0.tar.gz (or a higher
163- version number -- using version 1.x is not recommended).
162+ <URL: ftp://slc2.ins.cwru.edu/pub/dist/readline-2.0.tar.gz> (or a
163+ higher version number -- using version 1.x is not recommended).
164164
165165A GPL-free version was posted to comp.sources.misc in volume 31 and is
166- widely available from FTP archive sites. One URL for it is:
167- ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume31/editline/part01.Z
166+ widely available from FTP archive sites, e.g.
167+ <URL: ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume31/editline/part01.Z>
168168
169169Pass the Python configure script the option --with-readline=DIRECTORY
170170where DIRECTORY is the absolute pathname of the directory where you've
@@ -209,8 +209,8 @@ Setup.irix4 file to it).
209209
210210- On SGI IRIX 4, dynamic loading of extension modules is supported by
211211the "dl" library by Jack Jansen, which is ftp'able from
212- ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. This is enabled (after
213- you've ftp'ed and compiled the dl library!) by passing
212+ <URL: ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z> . This is enabled
213+ (after you've ftp'ed and compiled the dl library!) by passing
214214--with-sgi-dl=DIRECTORY where DIRECTORY is the absolute pathname of
215215the dl library. (Don't bother on IRIX 5, it already has dynamic
216216linking using SunOS style shared libraries.) Support for this feature
@@ -219,9 +219,9 @@ is deprecated.
219219- Dynamic loading of modules is rumoured to be supported on some other
220220systems: VAX (Ultrix), Sun3 (SunOS 3.4), Sequent Symmetry (Dynix), and
221221Atari ST. This is done using a combination of the GNU dynamic loading
222- package (ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z) and an
222+ package (<URL: ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z> ) and an
223223emulation of the SGI dl library mentioned above (the emulation can be
224- found at ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z). To enable
224+ found at <URL: ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z> ). To enable
225225this, ftp and compile both libraries, then call the configure passing
226226it the option --with-dl-dld=DL_DIRECTORY,DLD_DIRECTORY where
227227DL_DIRECTORY is the absolute pathname of the dl emulation library and
@@ -242,6 +242,44 @@ a separate tar file (currently extensions.tar.Z). See the README file
242242there.
243243
244244
245+ The Tk extension
246+ ----------------
247+
248+ Tk (the user interface component of John Ousterhout's Tcl language) is
249+ also usable from Python. Since this requires that you first build and
250+ install Tcl/Tk, the Tk interface is not enabled by default. It
251+ requires Tcl 7.3 and Tk 3.6. For more info about Tk, including
252+ pointers to the source, see John Ousterhout's home page at
253+ <URL:http://playground.sun.com/~ouster/>.
254+
255+ To enable the Python/Tk interface, once you've built and installed
256+ Tcl/Tk, all you need to do is edit two lines in Modules/Setup; search
257+ for the string "Tk". Un-comment one (normally the first) of the lines
258+ beginning with "#tkinter" and un-comment the line beginning with
259+ "#TKPATH". (If you have installed Tcl/Tk in unusual places you will
260+ have to edit the first line as well to fix the -I and -L options.)
261+ See the Build Instructions above for more details.
262+
263+ There is little documentation. Begin with fetching the "Tk Lifesaver"
264+ document, e.g. <URL:ftp://ftp.cwi.nl/pub/python/tkinter-doc.tar.gz> (a
265+ gzipped tar file containing a PostScript file). There are demos in
266+ the Demo/tkinter directory, in the subdirectories guido, matt and www.
267+
268+ Note that there's a Python module called "Tkinter" (capital T) which
269+ lives in Lib/tkinter/Tkinter.py, and a C module called "tkinter"
270+ (lower case t) which lives in Modules/tkintermodule.c. Demos and
271+ normal Tk applications only import the Python Tkinter module -- only
272+ the latter uses the C tkinter module directly. In order to find the C
273+ tkinter module, it must be compiled and linked into the Python
274+ interpreter -- the tkinter line in the Setup file does this. In order
275+ to find the Python Tkinter module, sys.path must be set correctly --
276+ the TKPATH assignment in the Setup file takes care of this, but only
277+ if you install Python properly ("make install libinstall"). (You can
278+ also use dynamic loading for the C tkinter module, in which case you
279+ must manually fix up sys.path or set $PYTHONPATH for the Python
280+ Tkinter module.)
281+
282+
245283Building for multiple architectures (using the VPATH feature)
246284-------------------------------------------------------------
247285
@@ -351,11 +389,11 @@ Ftp access
351389----------
352390
353391The latest Python source distribution can be ftp'ed from
354- ftp://ftp.cwi.nl/pub/python/python<version>.tar.gz. You can also find
355- PostScript of the main Python documentation there, Macintosh and PC
356- binaries, and the latest STDWIN source distribution (in directory
357- /pub/stdwin). oFr mirror sites, see the list in the FAQ (Misc/FAQ
358- this directory).
392+ <URL: ftp://ftp.cwi.nl/pub/python/>. See the INDEX or index.html file
393+ for more information. You can also find PostScript of the main Python
394+ documentation there, Macintosh and PC binaries, and the latest STDWIN
395+ source distribution (in directory /pub/stdwin). oFr mirror sites, see
396+ the list in the FAQ (Misc/FAQ this directory).
359397
360398
361399Mailing list and Newsgroup
@@ -386,8 +424,8 @@ Copyright Notice
386424The Python source is copyrighted, but you can freely use and copy it
387425as long as you don't change or remove the copyright:
388426
389- Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
390- Amsterdam, The Netherlands.
427+ Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam ,
428+ The Netherlands.
391429
392430 All Rights Reserved
393431
0 commit comments