blob: ac39f39b0411c3d863f39b47fddff996e991d38f [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
16classes Some examples of how to use classes.
17
Guido van Rossum14b0e701997-07-19 21:02:08 +000018embed An example of embedding Python in another application
19 (see also pysvr).
Guido van Rossum381f65c1994-01-18 13:35:31 +000020
Guido van Rossuma9559671997-07-19 23:13:10 +000021extend An example of using the generic Makefile.pre.in from
22 the Misc directory to build a statically linked or
23 shared extension module.
24
Guido van Rossumed49c5e1993-10-27 09:29:01 +000025md5test Test program for the optional md5 module.
26
Guido van Rossum14b0e701997-07-19 21:02:08 +000027pysvr An example of embedding Python in a threaded
28 application.
29
Guido van Rossumed49c5e1993-10-27 09:29:01 +000030rpc A set of classes for building clients and servers for
31 Sun RPC.
32
Guido van Rossum04fe4921991-12-24 13:49:29 +000033scripts Some useful Python scripts that I put in my bin
Guido van Rossumed49c5e1993-10-27 09:29:01 +000034 directory. No optional built-in modules needed.
Guido van Rossum04fe4921991-12-24 13:49:29 +000035
36sockets Examples for the new built-in module 'socket'.
37
38sgi Demos that only run on Silicon Graphics machines.
Guido van Rossum9183aaa1992-04-13 18:41:41 +000039 These require at least one of the optional built-in
40 modules that only make sense for the SGI, such as
Guido van Rossumed49c5e1993-10-27 09:29:01 +000041 'gl', 'al', and 'sv'. Split in subdirectories
Guido van Rossum9183aaa1992-04-13 18:41:41 +000042 per subject.
Guido van Rossum04fe4921991-12-24 13:49:29 +000043
Guido van Rossumed49c5e1993-10-27 09:29:01 +000044threads Demos that use the 'thread' module. (Currently these
45 only run on SGIs, but this may change in the future.)
46
Guido van Rossumee6310a1995-03-22 12:16:35 +000047tkinter Demos using the Tk interface (including Matt Conway's
48 excellent set of demos).
Martin v. Löwisbe0e7f42001-03-21 11:47:55 +000049
Guido van Rossumf74c9dc2001-03-21 14:18:12 +000050tix Demos using the Tix widget set addition to Tkinter.