1991-12-24 21:49:29 +08:00
|
|
|
This directory contains various demonstrations of what you can do with
|
1993-10-27 17:29:01 +08:00
|
|
|
Python. Most demos are grouped sub(sub*)directories according to
|
|
|
|
required optional built-in modules or specific platform; there is also
|
|
|
|
a set of generally useful scripts and there are some more-or-less
|
|
|
|
complete applications.
|
|
|
|
|
|
|
|
classes Some examples of how to use classes.
|
|
|
|
|
1994-01-18 21:35:31 +08:00
|
|
|
embed An example of embedding Python in another application.
|
|
|
|
|
1993-10-27 17:29:01 +08:00
|
|
|
ibrowse An Emacs info file browser (uses stdwin).
|
|
|
|
See also ../doc (the Python library documentation can
|
|
|
|
be converted to info format).
|
|
|
|
|
1994-02-22 20:48:21 +08:00
|
|
|
lutz Some demos written by Mark Lutz -- includes a nice
|
|
|
|
enhanced Python shell!!!
|
|
|
|
|
1993-10-27 17:29:01 +08:00
|
|
|
md5test Test program for the optional md5 module.
|
|
|
|
|
1994-02-22 20:48:21 +08:00
|
|
|
mpzpi.py Currently the only test for mpz -- print digits of pi
|
|
|
|
(compare scripts/pi.py).
|
|
|
|
|
1993-10-27 17:29:01 +08:00
|
|
|
rpc A set of classes for building clients and servers for
|
|
|
|
Sun RPC.
|
|
|
|
|
|
|
|
rsa An RSA public-key cryptosystem (needs mpz and md5).
|
1991-12-24 21:49:29 +08:00
|
|
|
|
|
|
|
scripts Some useful Python scripts that I put in my bin
|
1993-10-27 17:29:01 +08:00
|
|
|
directory. No optional built-in modules needed.
|
1991-12-24 21:49:29 +08:00
|
|
|
|
1994-02-22 20:48:21 +08:00
|
|
|
stoffel Some games written by Stoffel Erasmus.
|
|
|
|
|
1991-12-24 21:49:29 +08:00
|
|
|
sockets Examples for the new built-in module 'socket'.
|
|
|
|
|
|
|
|
sgi Demos that only run on Silicon Graphics machines.
|
1992-04-14 02:41:41 +08:00
|
|
|
These require at least one of the optional built-in
|
|
|
|
modules that only make sense for the SGI, such as
|
1993-10-27 17:29:01 +08:00
|
|
|
'gl', 'al', and 'sv'. Split in subdirectories
|
1992-04-14 02:41:41 +08:00
|
|
|
per subject.
|
1991-12-24 21:49:29 +08:00
|
|
|
|
|
|
|
stdwin Demos that use the STDWIN library. Require the 'stdwin'
|
|
|
|
built-in module.
|
|
|
|
|
1993-10-27 17:29:01 +08:00
|
|
|
threads Demos that use the 'thread' module. (Currently these
|
|
|
|
only run on SGIs, but this may change in the future.)
|
|
|
|
|
1991-12-24 21:49:29 +08:00
|
|
|
WARNING: many scripts are executable and have a first line saying
|
|
|
|
|
1993-10-27 17:29:01 +08:00
|
|
|
#! /usr/local/bin/python
|
1991-12-24 21:49:29 +08:00
|
|
|
|
|
|
|
This is unlikely to give good results unless you've really installed
|
|
|
|
the latest version python there. Edit the first line before
|
|
|
|
installing such scripts; to try them out, you can just say "python
|
|
|
|
foo.py" or enter python interactively and say "import foo".
|