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 | ee6310a | 1995-03-22 12:16:35 +0000 | [diff] [blame] | 2 | Python. They were all written by me except where explicitly stated |
| 3 | otherwise -- in general, demos contributed by others ends up in the |
| 4 | ../Contrib directory, unless I think they're of utmost general |
| 5 | importance (like Matt Conway's Tk demos). |
| 6 | |
| 7 | A fair number of utilities that are useful when while developing |
| 8 | Python code can be found in the ../Tools directory -- some of these |
| 9 | can also be considered good examples of how to write Python code. |
| 10 | |
| 11 | Finally, in order to save disk space and net bandwidth, not all |
| 12 | subdirectories listed here are distributed. They are listed just |
| 13 | in case I change my mind about them. |
| 14 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 15 | |
| 16 | classes Some examples of how to use classes. |
| 17 | |
Guido van Rossum | 14b0e70 | 1997-07-19 21:02:08 +0000 | [diff] [blame] | 18 | embed An example of embedding Python in another application |
| 19 | (see also pysvr). |
Guido van Rossum | 381f65c | 1994-01-18 13:35:31 +0000 | [diff] [blame] | 20 | |
Guido van Rossum | a955967 | 1997-07-19 23:13:10 +0000 | [diff] [blame] | 21 | extend 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 Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 25 | ibrowse An Emacs info file browser (uses stdwin). |
| 26 | See also ../doc (the Python library documentation can |
| 27 | be converted to info format). |
| 28 | |
| 29 | md5test Test program for the optional md5 module. |
| 30 | |
Guido van Rossum | 14b0e70 | 1997-07-19 21:02:08 +0000 | [diff] [blame] | 31 | pysvr An example of embedding Python in a threaded |
| 32 | application. |
| 33 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 34 | rpc A set of classes for building clients and servers for |
| 35 | Sun RPC. |
| 36 | |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 37 | scripts Some useful Python scripts that I put in my bin |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 38 | directory. No optional built-in modules needed. |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 39 | |
| 40 | sockets Examples for the new built-in module 'socket'. |
| 41 | |
| 42 | sgi Demos that only run on Silicon Graphics machines. |
Guido van Rossum | 9183aaa | 1992-04-13 18:41:41 +0000 | [diff] [blame] | 43 | These require at least one of the optional built-in |
| 44 | modules that only make sense for the SGI, such as |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 45 | 'gl', 'al', and 'sv'. Split in subdirectories |
Guido van Rossum | 9183aaa | 1992-04-13 18:41:41 +0000 | [diff] [blame] | 46 | per subject. |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 47 | |
| 48 | stdwin Demos that use the STDWIN library. Require the 'stdwin' |
| 49 | built-in module. |
| 50 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 51 | threads Demos that use the 'thread' module. (Currently these |
| 52 | only run on SGIs, but this may change in the future.) |
| 53 | |
Guido van Rossum | ee6310a | 1995-03-22 12:16:35 +0000 | [diff] [blame] | 54 | tkinter Demos using the Tk interface (including Matt Conway's |
| 55 | excellent set of demos). |