blob: 5e3d9e2fb357415b5138b148c2035eda9477ecf2 [file] [log] [blame]
Guido van Rossum04fe4921991-12-24 13:49:29 +00001This directory contains various demonstrations of what you can do with
Guido van Rossumee6310a1995-03-22 12:16:35 +00002Python. They were all written by me except where explicitly stated
3otherwise -- in general, demos contributed by others ends up in the
4../Contrib directory, unless I think they're of utmost general
5importance (like Matt Conway's Tk demos).
6
7A fair number of utilities that are useful when while developing
8Python code can be found in the ../Tools directory -- some of these
9can also be considered good examples of how to write Python code.
10
11Finally, in order to save disk space and net bandwidth, not all
12subdirectories listed here are distributed. They are listed just
13in case I change my mind about them.
14
Guido van Rossumed49c5e1993-10-27 09:29:01 +000015
Guido van Rossum989ea8d2002-10-18 15:36:31 +000016cgi CGI examples (see also ../Tools/faqwiz/.)
17
Guido van Rossumed49c5e1993-10-27 09:29:01 +000018classes Some examples of how to use classes.
19
Guido van Rossumc92cf502001-12-27 16:57:49 +000020comparisons A set of responses to a really old language-comparison
21 challenge.
22
23curses A set of curses demos.
24
Guido van Rossum14b0e701997-07-19 21:02:08 +000025embed An example of embedding Python in another application
26 (see also pysvr).
Guido van Rossum381f65c1994-01-18 13:35:31 +000027
Guido van Rossumc92cf502001-12-27 16:57:49 +000028imputil Demonstration subclasses of imputil.Importer.
Guido van Rossuma9559671997-07-19 23:13:10 +000029
Guido van Rossumed49c5e1993-10-27 09:29:01 +000030md5test Test program for the optional md5 module.
31
Guido van Rossumc92cf502001-12-27 16:57:49 +000032metaclasses The code from the 1.5 metaclasses paper on the web.
33
34parser Example using the parser module.
35
36pdist Old, unfinished code messing with CVS, RCS and remote
37 files.
38
Guido van Rossum14b0e701997-07-19 21:02:08 +000039pysvr An example of embedding Python in a threaded
40 application.
41
Guido van Rossumed49c5e1993-10-27 09:29:01 +000042rpc A set of classes for building clients and servers for
43 Sun RPC.
44
Guido van Rossum04fe4921991-12-24 13:49:29 +000045scripts Some useful Python scripts that I put in my bin
Guido van Rossumed49c5e1993-10-27 09:29:01 +000046 directory. No optional built-in modules needed.
Guido van Rossum04fe4921991-12-24 13:49:29 +000047
Guido van Rossumc92cf502001-12-27 16:57:49 +000048sockets Examples for the new built-in module 'socket'.
49
Guido van Rossumed49c5e1993-10-27 09:29:01 +000050threads Demos that use the 'thread' module. (Currently these
51 only run on SGIs, but this may change in the future.)
52
Guido van Rossumc92cf502001-12-27 16:57:49 +000053tix Demos using the Tix widget set addition to Tkinter.
54
Guido van Rossumee6310a1995-03-22 12:16:35 +000055tkinter Demos using the Tk interface (including Matt Conway's
56 excellent set of demos).
Martin v. Löwisbe0e7f42001-03-21 11:47:55 +000057
Guido van Rossumc92cf502001-12-27 16:57:49 +000058xml Some XML demos.
59
60xmlrpc XML-RPC server framework (but see the standard library
61 module SimpleXMLRPCServer.py for a replacement).
62
63zlib Some demos for the zlib module (see also the standard
64 library module gzip.py).