blob: 1ed1ff144db1b5ed686d285af370d05495da89c5 [file] [log] [blame]
Guido van Rossum04fe4921991-12-24 13:49:29 +00001This directory contains various demonstrations of what you can do with
Guido van Rossumee6310a1995-03-22 12:16:35 +00002Python. They were all written by me except where explicitly stated
3otherwise -- in general, demos contributed by others ends up in the
4../Contrib directory, unless I think they're of utmost general
5importance (like Matt Conway's Tk demos).
6
7A fair number of utilities that are useful when while developing
8Python code can be found in the ../Tools directory -- some of these
9can also be considered good examples of how to write Python code.
10
11Finally, in order to save disk space and net bandwidth, not all
12subdirectories listed here are distributed. They are listed just
13in case I change my mind about them.
14
Guido van Rossumed49c5e1993-10-27 09:29:01 +000015
Guido van Rossum989ea8d2002-10-18 15:36:31 +000016cgi CGI examples (see also ../Tools/faqwiz/.)
17
Georg Brandl5ec5fed2010-08-02 23:13:12 +000018classes Some examples of how to use classes.
Guido van Rossumed49c5e1993-10-27 09:29:01 +000019
Georg Brandl5ec5fed2010-08-02 23:13:12 +000020comparisons A set of responses to a really old language-comparison
21 challenge.
Guido van Rossumc92cf502001-12-27 16:57:49 +000022
Georg Brandl5ec5fed2010-08-02 23:13:12 +000023curses A set of curses demos.
Guido van Rossumc92cf502001-12-27 16:57:49 +000024
Georg Brandl5ec5fed2010-08-02 23:13:12 +000025distutils Test for using transparent 2to3 conversion in distutils.
Guido van Rossum381f65c1994-01-18 13:35:31 +000026
Georg Brandl5ec5fed2010-08-02 23:13:12 +000027embed An example of embedding Python in another application
28 (see also pysvr).
Guido van Rossuma9559671997-07-19 23:13:10 +000029
Georg Brandl5ec5fed2010-08-02 23:13:12 +000030imputil Demonstration subclasses of imputil.Importer.
Guido van Rossumed49c5e1993-10-27 09:29:01 +000031
Georg Brandl5ec5fed2010-08-02 23:13:12 +000032md5test Test program for the optional md5 module.
Guido van Rossumc92cf502001-12-27 16:57:49 +000033
Georg Brandl5ec5fed2010-08-02 23:13:12 +000034newmetaclasses Demonstration of metaclasses.
Guido van Rossumc92cf502001-12-27 16:57:49 +000035
Georg Brandl5ec5fed2010-08-02 23:13:12 +000036parser Example using the parser module.
Guido van Rossumc92cf502001-12-27 16:57:49 +000037
Georg Brandl5ec5fed2010-08-02 23:13:12 +000038pdist Old, unfinished code messing with CVS, RCS and remote
39 files.
Guido van Rossum14b0e701997-07-19 21:02:08 +000040
Georg Brandl5ec5fed2010-08-02 23:13:12 +000041pysvr An example of embedding Python in a threaded
42 application.
Guido van Rossumed49c5e1993-10-27 09:29:01 +000043
Georg Brandl5ec5fed2010-08-02 23:13:12 +000044rpc A set of classes for building clients and servers for
45 Sun RPC.
Guido van Rossum04fe4921991-12-24 13:49:29 +000046
Georg Brandl5ec5fed2010-08-02 23:13:12 +000047scripts Some useful Python scripts that I put in my bin
48 directory. No optional built-in modules needed.
Guido van Rossumc92cf502001-12-27 16:57:49 +000049
Georg Brandl5ec5fed2010-08-02 23:13:12 +000050sockets Examples for the new built-in module 'socket'.
Guido van Rossumed49c5e1993-10-27 09:29:01 +000051
Georg Brandl5ec5fed2010-08-02 23:13:12 +000052threads Demos that use the 'thread' module. (Currently these
53 only run on SGIs, but this may change in the future.)
Guido van Rossumc92cf502001-12-27 16:57:49 +000054
Georg Brandl5ec5fed2010-08-02 23:13:12 +000055tix Demos using the Tix widget set addition to Tkinter.
Martin v. Löwisbe0e7f42001-03-21 11:47:55 +000056
Georg Brandl5ec5fed2010-08-02 23:13:12 +000057tkinter Demos using the Tk interface (including Matt Conway's
58 excellent set of demos).
Guido van Rossumc92cf502001-12-27 16:57:49 +000059
Georg Brandl5ec5fed2010-08-02 23:13:12 +000060turtle Demos for the "turtle" module.
61
62xml Some XML demos.
63
64zlib Some demos for the zlib module (see also the standard
65 library module gzip.py).