Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 1 | This directory contains various demonstrations of what you can do with |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 2 | Python. Most demos are grouped sub(sub*)directories according to |
| 3 | required optional built-in modules or specific platform; there is also |
| 4 | a set of generally useful scripts and there are some more-or-less |
| 5 | complete applications. |
| 6 | |
| 7 | classes Some examples of how to use classes. |
| 8 | |
Guido van Rossum | 381f65c | 1994-01-18 13:35:31 +0000 | [diff] [blame] | 9 | embed An example of embedding Python in another application. |
| 10 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 11 | ibrowse 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 Rossum | 9f14863 | 1994-02-22 12:48:21 +0000 | [diff] [blame] | 15 | lutz Some demos written by Mark Lutz -- includes a nice |
| 16 | enhanced Python shell!!! |
| 17 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 18 | md5test Test program for the optional md5 module. |
| 19 | |
| 20 | rpc A set of classes for building clients and servers for |
| 21 | Sun RPC. |
| 22 | |
| 23 | rsa An RSA public-key cryptosystem (needs mpz and md5). |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 24 | |
| 25 | scripts Some useful Python scripts that I put in my bin |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 26 | directory. No optional built-in modules needed. |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 27 | |
Guido van Rossum | 9f14863 | 1994-02-22 12:48:21 +0000 | [diff] [blame] | 28 | stoffel Some games written by Stoffel Erasmus. |
| 29 | |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 30 | sockets Examples for the new built-in module 'socket'. |
| 31 | |
| 32 | sgi Demos that only run on Silicon Graphics machines. |
Guido van Rossum | 9183aaa | 1992-04-13 18:41:41 +0000 | [diff] [blame] | 33 | These require at least one of the optional built-in |
| 34 | modules that only make sense for the SGI, such as |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 35 | 'gl', 'al', and 'sv'. Split in subdirectories |
Guido van Rossum | 9183aaa | 1992-04-13 18:41:41 +0000 | [diff] [blame] | 36 | per subject. |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 37 | |
| 38 | stdwin Demos that use the STDWIN library. Require the 'stdwin' |
| 39 | built-in module. |
| 40 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 41 | threads Demos that use the 'thread' module. (Currently these |
| 42 | only run on SGIs, but this may change in the future.) |
| 43 | |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 44 | WARNING: many scripts are executable and have a first line saying |
| 45 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 46 | #! /usr/local/bin/python |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 47 | |
| 48 | This is unlikely to give good results unless you've really installed |
| 49 | the latest version python there. Edit the first line before |
| 50 | installing such scripts; to try them out, you can just say "python |
| 51 | foo.py" or enter python interactively and say "import foo". |