cpython/Demo
Guido van Rossum e13be40b88 Geoffrey Gerrietts discovered that a KeyError was caught that probably
should have been a NameError.  I'm checking in a change that catches
both, just to be sure -- I can't be bothered trying to understand this
code any more. :-)
2001-01-15 16:53:58 +00:00
..
classes
comparisons
curses Added "repeat.py" -- repeatedly execute a shell command (like 2001-01-05 20:54:07 +00:00
dns
embed Add loop.c -- a test program for repeatedly calling Py_Initialize() 2001-01-10 17:11:51 +00:00
extend
imputil no changes other than indentation level (now 4) and comment reflow. 2000-07-18 09:09:48 +00:00
md5test
metaclasses Geoffrey Gerrietts discovered that a KeyError was caught that probably 2001-01-15 16:53:58 +00:00
parser Remove some obsolete files, and update the README. 2000-10-23 20:50:23 +00:00
pdist typos fixed by Rob Hooft 2000-06-28 14:48:01 +00:00
pysvr Fix Makefile so at least it uses Python 2.0, and compiles out of the 2000-11-03 12:58:09 +00:00
rpc
scripts A solution to the classic N queens problem. 2000-11-16 21:25:51 +00:00
sgi Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
sockets Jeremy missed a bind() call when updating these demos. ;) 2000-08-25 16:03:27 +00:00
threads Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd line 2000-12-14 22:12:33 +00:00
tkinter Removing these scripts. redemo.py lives on in Tools/scripts/. 2000-10-06 17:38:42 +00:00
xml Demos of the new XML support from Lars Marius Garshol <larsga@garshol.priv.no>. 2000-10-16 15:27:05 +00:00
zlib
Makefile
README Remove stdwin references 2000-05-11 18:29:05 +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.

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.

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