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 | |
Guido van Rossum | 989ea8d | 2002-10-18 15:36:31 +0000 | [diff] [blame] | 16 | cgi CGI examples (see also ../Tools/faqwiz/.) |
| 17 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 18 | classes Some examples of how to use classes. |
| 19 | |
Guido van Rossum | c92cf50 | 2001-12-27 16:57:49 +0000 | [diff] [blame] | 20 | comparisons A set of responses to a really old language-comparison |
| 21 | challenge. |
| 22 | |
| 23 | curses A set of curses demos. |
| 24 | |
Guido van Rossum | 14b0e70 | 1997-07-19 21:02:08 +0000 | [diff] [blame] | 25 | embed An example of embedding Python in another application |
| 26 | (see also pysvr). |
Guido van Rossum | 381f65c | 1994-01-18 13:35:31 +0000 | [diff] [blame] | 27 | |
Guido van Rossum | c92cf50 | 2001-12-27 16:57:49 +0000 | [diff] [blame] | 28 | imputil Demonstration subclasses of imputil.Importer. |
Guido van Rossum | a955967 | 1997-07-19 23:13:10 +0000 | [diff] [blame] | 29 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 30 | md5test Test program for the optional md5 module. |
| 31 | |
Guido van Rossum | c92cf50 | 2001-12-27 16:57:49 +0000 | [diff] [blame] | 32 | metaclasses The code from the 1.5 metaclasses paper on the web. |
| 33 | |
| 34 | parser Example using the parser module. |
| 35 | |
| 36 | pdist Old, unfinished code messing with CVS, RCS and remote |
| 37 | files. |
| 38 | |
Guido van Rossum | 14b0e70 | 1997-07-19 21:02:08 +0000 | [diff] [blame] | 39 | pysvr An example of embedding Python in a threaded |
| 40 | application. |
| 41 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 42 | rpc A set of classes for building clients and servers for |
| 43 | Sun RPC. |
| 44 | |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 45 | scripts Some useful Python scripts that I put in my bin |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 46 | directory. No optional built-in modules needed. |
Guido van Rossum | 04fe492 | 1991-12-24 13:49:29 +0000 | [diff] [blame] | 47 | |
Guido van Rossum | c92cf50 | 2001-12-27 16:57:49 +0000 | [diff] [blame] | 48 | sockets Examples for the new built-in module 'socket'. |
| 49 | |
Guido van Rossum | ed49c5e | 1993-10-27 09:29:01 +0000 | [diff] [blame] | 50 | threads Demos that use the 'thread' module. (Currently these |
| 51 | only run on SGIs, but this may change in the future.) |
| 52 | |
Guido van Rossum | c92cf50 | 2001-12-27 16:57:49 +0000 | [diff] [blame] | 53 | tix Demos using the Tix widget set addition to Tkinter. |
| 54 | |
Guido van Rossum | ee6310a | 1995-03-22 12:16:35 +0000 | [diff] [blame] | 55 | tkinter Demos using the Tk interface (including Matt Conway's |
| 56 | excellent set of demos). |
Martin v. Löwis | be0e7f4 | 2001-03-21 11:47:55 +0000 | [diff] [blame] | 57 | |
Guido van Rossum | c92cf50 | 2001-12-27 16:57:49 +0000 | [diff] [blame] | 58 | xml Some XML demos. |
| 59 | |
Guido van Rossum | c92cf50 | 2001-12-27 16:57:49 +0000 | [diff] [blame] | 60 | zlib Some demos for the zlib module (see also the standard |
| 61 | library module gzip.py). |