blob: 035598ed6c95c40f9984fc4ad2dfb16fc55d7deb [file] [log] [blame]
Guido van Rossum04fe4921991-12-24 13:49:29 +00001This directory contains various demonstrations of what you can do with
Guido van Rossumed49c5e1993-10-27 09:29:01 +00002Python. Most demos are grouped sub(sub*)directories according to
3required optional built-in modules or specific platform; there is also
4a set of generally useful scripts and there are some more-or-less
5complete applications.
6
7classes Some examples of how to use classes.
8
Guido van Rossum381f65c1994-01-18 13:35:31 +00009embed An example of embedding Python in another application.
10
Guido van Rossumed49c5e1993-10-27 09:29:01 +000011ibrowse An Emacs info file browser (uses stdwin).
12 See also ../doc (the Python library documentation can
13 be converted to info format).
14
Guido van Rossum9f148631994-02-22 12:48:21 +000015lutz Some demos written by Mark Lutz -- includes a nice
16 enhanced Python shell!!!
17
Guido van Rossumed49c5e1993-10-27 09:29:01 +000018md5test Test program for the optional md5 module.
19
Guido van Rossum9f148631994-02-22 12:48:21 +000020mpzpi.py Currently the only test for mpz -- print digits of pi
21 (compare scripts/pi.py).
22
Guido van Rossumed49c5e1993-10-27 09:29:01 +000023rpc A set of classes for building clients and servers for
24 Sun RPC.
25
26rsa An RSA public-key cryptosystem (needs mpz and md5).
Guido van Rossum04fe4921991-12-24 13:49:29 +000027
28scripts Some useful Python scripts that I put in my bin
Guido van Rossumed49c5e1993-10-27 09:29:01 +000029 directory. No optional built-in modules needed.
Guido van Rossum04fe4921991-12-24 13:49:29 +000030
Guido van Rossum9f148631994-02-22 12:48:21 +000031stoffel Some games written by Stoffel Erasmus.
32
Guido van Rossum04fe4921991-12-24 13:49:29 +000033sockets Examples for the new built-in module 'socket'.
34
35sgi Demos that only run on Silicon Graphics machines.
Guido van Rossum9183aaa1992-04-13 18:41:41 +000036 These require at least one of the optional built-in
37 modules that only make sense for the SGI, such as
Guido van Rossumed49c5e1993-10-27 09:29:01 +000038 'gl', 'al', and 'sv'. Split in subdirectories
Guido van Rossum9183aaa1992-04-13 18:41:41 +000039 per subject.
Guido van Rossum04fe4921991-12-24 13:49:29 +000040
41stdwin Demos that use the STDWIN library. Require the 'stdwin'
42 built-in module.
43
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 Rossum04fe4921991-12-24 13:49:29 +000047WARNING: many scripts are executable and have a first line saying
48
Guido van Rossumed49c5e1993-10-27 09:29:01 +000049 #! /usr/local/bin/python
Guido van Rossum04fe4921991-12-24 13:49:29 +000050
51This is unlikely to give good results unless you've really installed
52the latest version python there. Edit the first line before
53installing such scripts; to try them out, you can just say "python
54foo.py" or enter python interactively and say "import foo".