blob: a6debe8d22b5301c138e4e7212adc445b4745e9d [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
9ibrowse An Emacs info file browser (uses stdwin).
10 See also ../doc (the Python library documentation can
11 be converted to info format).
12
13md5test Test program for the optional md5 module.
14
15rpc A set of classes for building clients and servers for
16 Sun RPC.
17
18rsa An RSA public-key cryptosystem (needs mpz and md5).
Guido van Rossum04fe4921991-12-24 13:49:29 +000019
20scripts Some useful Python scripts that I put in my bin
Guido van Rossumed49c5e1993-10-27 09:29:01 +000021 directory. No optional built-in modules needed.
Guido van Rossum04fe4921991-12-24 13:49:29 +000022
23sockets Examples for the new built-in module 'socket'.
24
25sgi Demos that only run on Silicon Graphics machines.
Guido van Rossum9183aaa1992-04-13 18:41:41 +000026 These require at least one of the optional built-in
27 modules that only make sense for the SGI, such as
Guido van Rossumed49c5e1993-10-27 09:29:01 +000028 'gl', 'al', and 'sv'. Split in subdirectories
Guido van Rossum9183aaa1992-04-13 18:41:41 +000029 per subject.
Guido van Rossum04fe4921991-12-24 13:49:29 +000030
31stdwin Demos that use the STDWIN library. Require the 'stdwin'
32 built-in module.
33
Guido van Rossumed49c5e1993-10-27 09:29:01 +000034threads Demos that use the 'thread' module. (Currently these
35 only run on SGIs, but this may change in the future.)
36
37www Browsers for CERN's distributed hypertext system
38 World-Wide Web (one with a stdwin-based user
39 interface, one for dumb ttys). Also contains a
40 primitive gopher client and an ftp client.
41 See also ../doc (the Python library documentation can
42 be converted to WWW's "HTML" format).
43
Guido van Rossum04fe4921991-12-24 13:49:29 +000044WARNING: many scripts are executable and have a first line saying
45
Guido van Rossumed49c5e1993-10-27 09:29:01 +000046 #! /usr/local/bin/python
Guido van Rossum04fe4921991-12-24 13:49:29 +000047
48This is unlikely to give good results unless you've really installed
49the latest version python there. Edit the first line before
50installing such scripts; to try them out, you can just say "python
51foo.py" or enter python interactively and say "import foo".