cpython/Demo
Neil Schemenauer 89e90d67aa Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
directives, which is the role of CPPFLAGS.  Closes SF patch #414991.
2001-06-02 06:16:02 +00:00
..
classes
comparisons
curses Added "repeat.py" -- repeatedly execute a shell command (like 2001-01-05 20:54:07 +00:00
dns
embed Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor 2001-06-02 06:16:02 +00:00
extend
imputil
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
pysvr Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor 2001-06-02 06:16:02 +00:00
rpc
scripts Updated to use new Python features 2001-02-20 16:32:24 +00:00
sgi
sockets Jeremy missed a bind() call when updating these demos. ;) 2000-08-25 16:03:27 +00:00
threads Change co.detach() to co.back() call. 2001-03-22 13:36:39 +00:00
tix [].index() raises ValueError if the value is not in the list, so only 2001-05-11 19:52:03 +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
README Add newline to end of file. 2001-03-21 14:18:12 +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).

tix		Demos using the Tix widget set addition to Tkinter.