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