cpython/Demo
Guido van Rossum 07af9a7ddd Add a sleep(0.00001) call to make sure all threads run. 1998-03-26 20:09:16 +00:00
..
classes Fix the test for pow() -- no more TypeErrors are raised! 1997-12-09 19:38:39 +00:00
comparisons /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
cwilib
dns print MX record 1996-07-30 19:04:18 +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 Forgot to use </> for some example output. 1997-12-05 16:18:45 +00:00
parser Removed pprint.py. 1997-04-16 04:47:57 +00:00
pdist Fix bug in islocked() -- it would always return 0. 1998-03-17 21:28:21 +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 Fix the way the version number is gotten out of the RCS revision. 1997-12-09 19:39:12 +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 Add a sleep(0.00001) call to make sure all threads run. 1998-03-26 20:09:16 +00:00
tkinter Paint demo by Dave Mitchell. There's clearly a demand for such a 1998-01-26 16:47:30 +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).