cpython/Demo
Guido van Rossum 7ca9a1a466 Fix a bug where comparison of a rational with a float failed because
the difference got converted to float.
Put brackets around the string representation of (non-integer)
rationals.
(Sjoerd Mullender.)
1998-09-09 14:07:06 +00:00
..
classes Fix a bug where comparison of a rational with a float failed because 1998-09-09 14:07:06 +00:00
comparisons /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
cwilib Got rid of redundant copy of telnetlib.py 1998-04-06 14:35:27 +00:00
dns Add link to Anthony Baxter's enhanced version. 1998-04-27 14:14:41 +00:00
embed Just for fun, add a static module, "xyzzy" -- show that calling its 1997-12-25 04:51:41 +00:00
extend New test for generic Makefile.pre.in 1997-07-19 23:14:13 +00:00
ibrowse /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
md5test initial checkin 1994-10-08 19:17:34 +00:00
metaclasses Corrected some spelling and one technical error. 1998-08-10 13:18:11 +00:00
parser Removed pprint.py. 1997-04-16 04:47:57 +00:00
pdist whrandom -> random 1998-05-20 17:13:01 +00:00
pysvr Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing and 1997-12-25 04:48:51 +00:00
rpc Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>. 1998-01-28 14:59:48 +00:00
scripts whrandom -> random 1998-05-20 17:13:01 +00:00
sgi Hide .fdc files here. 1997-05-28 16:14:48 +00:00
sockets Add Piet van Oostrum's name to the comments. 1998-01-29 04:04:04 +00:00
stdwin /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
threads whrandom -> random 1998-05-20 17:13:01 +00:00
tkinter Show how to do switchable panels. 1998-07-15 14:58:05 +00:00
zlib Checking in zlib demo. 1997-05-28 16:13:21 +00:00
Makefile Initial revision 1994-01-04 23:24:38 +00:00
README Added description of the extend subdirectory. 1997-07-19 23:13:10 +00:00

README

This directory contains various demonstrations of what you can do with
Python.  They were all written by me except where explicitly stated
otherwise -- in general, demos contributed by others ends up in the
../Contrib directory, unless I think they're of utmost general
importance (like Matt Conway's Tk demos).

A fair number of utilities that are useful when while developing
Python code can be found in the ../Tools directory -- some of these
can also be considered good examples of how to write Python code.

Finally, in order to save disk space and net bandwidth, not all
subdirectories listed here are distributed.  They are listed just
in case I change my mind about them.


classes		Some examples of how to use classes.

embed		An example of embedding Python in another application
		(see also pysvr).

extend		An example of using the generic Makefile.pre.in from
		the Misc directory to build a statically linked or
		shared extension module.

ibrowse		An Emacs info file browser (uses stdwin).
		See also ../doc (the Python library documentation can
		be converted to info format).

md5test		Test program for the optional md5 module.

pysvr		An example of embedding Python in a threaded
		application.

rpc		A set of classes for building clients and servers for
		Sun RPC.

scripts		Some useful Python scripts that I put in my bin
		directory.  No optional built-in modules needed.

sockets		Examples for the new built-in module 'socket'.

sgi		Demos that only run on Silicon Graphics machines.
		These require at least one of the optional built-in
		modules that only make sense for the SGI, such as
		'gl', 'al', and 'sv'.  Split in subdirectories
		per subject.

stdwin		Demos that use the STDWIN library.  Require the 'stdwin'
		built-in module.

threads		Demos that use the 'thread' module.  (Currently these
		only run on SGIs, but this may change in the future.)

tkinter		Demos using the Tk interface (including Matt Conway's
		excellent set of demos).