cpython/Demo
2000-02-28 17:25:14 +00:00
..
classes Correct spelling of length, discovered by Christian Tismer. 1999-04-21 16:06:27 +00:00
comparisons /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
cwilib nannified 1998-09-14 16:44:15 +00:00
dns Fix use of list.append() with multiple arguments 2000-02-28 17:25:14 +00:00
embed Call Py_SetProgramName() instead of redefining getprogramname(), 1999-03-09 17:07:24 +00:00
extend New test for generic Makefile.pre.in 1997-07-19 23:14:13 +00:00
ibrowse Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
md5test initial checkin 1994-10-08 19:17:34 +00:00
metaclasses Fix some broken links. 2000-01-20 21:37:19 +00:00
parser Moved all the imports to the top. 1999-11-19 21:57:56 +00:00
pdist Change #! line to modern usage 1999-03-12 19:05:49 +00:00
pysvr Add -v flag. Comment duplicate Py_Finalize(). 1999-10-05 22:16:07 +00:00
rpc Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
scripts Fix bug discovered by Klaus-Juergen Wolf -- it runs into infinite recursion! 1999-06-09 19:07:22 +00:00
sgi Fix a couple dozen broken ci.append(x, y, z) calls, spotted by Tim. 2000-02-25 11:46:50 +00:00
sockets Ofir Reichenberg suggested to apply htonl() to grpaddr in openmcastsock(). 1999-08-07 14:01:05 +00:00
stdwin Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
threads nannified 1998-09-14 16:44:15 +00:00
tkinter This demo imported some private code from Matt. Make it cripple along. 1999-04-08 15:18:12 +00:00
zlib Change #! line to modern usage; also chmod +x 1999-03-12 19:07:59 +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

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).