Removed defensive test in Handler.close
[python.git] / Demo / README
blob5e3d9e2fb357415b5138b148c2035eda9477ecf2
1 This directory contains various demonstrations of what you can do with
2 Python.  They were all written by me except where explicitly stated
3 otherwise -- in general, demos contributed by others ends up in the
4 ../Contrib directory, unless I think they're of utmost general
5 importance (like Matt Conway's Tk demos).
7 A fair number of utilities that are useful when while developing
8 Python code can be found in the ../Tools directory -- some of these
9 can also be considered good examples of how to write Python code.
11 Finally, in order to save disk space and net bandwidth, not all
12 subdirectories listed here are distributed.  They are listed just
13 in case I change my mind about them.
16 cgi             CGI examples (see also ../Tools/faqwiz/.)
18 classes         Some examples of how to use classes.
20 comparisons     A set of responses to a really old language-comparison
21                 challenge.
23 curses          A set of curses demos.
25 embed           An example of embedding Python in another application
26                 (see also pysvr).
28 imputil         Demonstration subclasses of imputil.Importer.
30 md5test         Test program for the optional md5 module.
32 metaclasses     The code from the 1.5 metaclasses paper on the web.
34 parser          Example using the parser module.
36 pdist           Old, unfinished code messing with CVS, RCS and remote
37                 files.
39 pysvr           An example of embedding Python in a threaded
40                 application.
42 rpc             A set of classes for building clients and servers for
43                 Sun RPC.
45 scripts         Some useful Python scripts that I put in my bin
46                 directory.  No optional built-in modules needed.
48 sockets         Examples for the new built-in module 'socket'.
50 threads         Demos that use the 'thread' module.  (Currently these
51                 only run on SGIs, but this may change in the future.)
53 tix             Demos using the Tix widget set addition to Tkinter.
55 tkinter         Demos using the Tk interface (including Matt Conway's
56                 excellent set of demos).
58 xml             Some XML demos.
60 xmlrpc          XML-RPC server framework (but see the standard library
61                 module SimpleXMLRPCServer.py for a replacement).
63 zlib            Some demos for the zlib module (see also the standard
64                 library module gzip.py).