cpython/Demo
2003-04-24 17:27:53 +00:00
..
cgi Add description of what's here. 2002-10-18 15:35:42 +00:00
classes Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged. 2003-04-24 17:13:18 +00:00
comparisons Modernize the code a bit: 2003-04-24 17:22:04 +00:00
curses Use random module instead of whrandom 2002-04-10 14:50:16 +00:00
embed - Make number in comment match the targets in that section of the 2002-07-25 16:23:21 +00:00
imputil Move knee.py from Lib/ to Demo/imputil/. Fixes #515745. 2002-04-07 16:29:36 +00:00
md5test Remove unneeded continuation chars 2003-04-24 17:27:53 +00:00
metaclasses Repair example code in doc string. 2002-07-11 20:22:11 +00:00
newmetaclasses Get the meta class inheritance right. 2002-07-12 15:42:10 +00:00
parser Remove some obsolete files, and update the README. 2000-10-23 20:50:23 +00:00
pdist Massive changes from SF 589982 (tempfile.py rewrite, by Zack 2002-08-09 16:38:32 +00:00
pysvr Patch #524008: Fix portability bug on new POSIX hosts 2002-03-01 13:15:30 +00:00
rpc Patch #469517: Info about rpcgen compilers. 2001-10-11 19:23:28 +00:00
scripts add find-uname.py 2003-01-01 20:27:13 +00:00
sockets Kill another merge zombie. 2001-07-17 21:10:44 +00:00
threads Note lack of speedup. Remove Irix reference. Remove silly extra 2002-10-18 18:20:33 +00:00
tix Tix update from Mike Clarkson (maintainer) 2002-12-30 23:52:01 +00:00
tkinter Add "select all" by clicking on (0,0) cell. 2002-11-02 22:18:46 +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
xmlrpc Slight modernization. 2002-04-03 21:47:47 +00:00
zlib Change #! line to modern usage; also chmod +x 1999-03-12 19:07:59 +00:00
README Add description of the cgi directory. 2002-10-18 15:36:31 +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.


cgi             CGI examples (see also ../Tools/faqwiz/.)

classes		Some examples of how to use classes.

comparisons	A set of responses to a really old language-comparison
		challenge.

curses		A set of curses demos.

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

imputil		Demonstration subclasses of imputil.Importer.

md5test		Test program for the optional md5 module.

metaclasses	The code from the 1.5 metaclasses paper on the web.

parser		Example using the parser module.

pdist		Old, unfinished code messing with CVS, RCS and remote
		files.

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

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

tix		Demos using the Tix widget set addition to Tkinter.

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

xml		Some XML demos.

xmlrpc		XML-RPC server framework (but see the standard library
		module SimpleXMLRPCServer.py for a replacement).

zlib		Some demos for the zlib module (see also the standard
		library module gzip.py).