blob: 8af342050d35838fd91b2cbad3eba6c5553a2868 [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 +000038pysvr An example of embedding Python in a threaded
39 application.
Guido van Rossumed49c5e1993-10-27 09:29:01 +000040
Georg Brandl5ec5fed2010-08-02 23:13:12 +000041rpc A set of classes for building clients and servers for
42 Sun RPC.
Guido van Rossum04fe4921991-12-24 13:49:29 +000043
Georg Brandl5ec5fed2010-08-02 23:13:12 +000044scripts Some useful Python scripts that I put in my bin
45 directory. No optional built-in modules needed.
Guido van Rossumc92cf502001-12-27 16:57:49 +000046
Georg Brandl5ec5fed2010-08-02 23:13:12 +000047sockets Examples for the new built-in module 'socket'.
Guido van Rossumed49c5e1993-10-27 09:29:01 +000048
Georg Brandl5ec5fed2010-08-02 23:13:12 +000049threads Demos that use the 'thread' module. (Currently these
50 only run on SGIs, but this may change in the future.)
Guido van Rossumc92cf502001-12-27 16:57:49 +000051
Georg Brandl5ec5fed2010-08-02 23:13:12 +000052tix Demos using the Tix widget set addition to Tkinter.
Martin v. Löwisbe0e7f42001-03-21 11:47:55 +000053
Georg Brandl5ec5fed2010-08-02 23:13:12 +000054tkinter Demos using the Tk interface (including Matt Conway's
55 excellent set of demos).
Guido van Rossumc92cf502001-12-27 16:57:49 +000056
Georg Brandl5ec5fed2010-08-02 23:13:12 +000057turtle Demos for the "turtle" module.
58
59xml Some XML demos.
60
61zlib Some demos for the zlib module (see also the standard
62 library module gzip.py).