cpython/Demo
Barry Warsaw 820c120059 Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry.  This removes mimetools from the stdlib.
2008-06-12 04:06:45 +00:00
..
cgi remove most uses of list(somedict.keys()) in Demo scripts 2007-08-06 21:07:53 +00:00
classes Create the dbm package from PEP 3108. #2881. 2008-05-26 10:29:35 +00:00
comparisons Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
curses Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from 2008-03-31 01:51:45 +00:00
embed Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
imputil remove imputil demo 2008-06-05 22:53:40 +00:00
md5test Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
metaclasses Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
newmetaclasses Remove __metaclass__ remains. 2008-05-27 20:34:09 +00:00
parser Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
pdist Rename the repr module to reprlib. 2008-05-16 07:12:44 +00:00
pysvr Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
rpc Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from 2008-03-31 01:51:45 +00:00
scripts Patch for issue 2848, mostly by Humberto Diogenes, with a couple of 2008-06-12 04:06:45 +00:00
sockets Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
threads Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
tix remove most uses of list(somedict.keys()) in Demo scripts 2007-08-06 21:07:53 +00:00
tkinter The commands module has been removed. The getoutput() and getstatusoutput() 2008-05-26 19:04:21 +00:00
turtle Patch #3064: Port new turtle module and demos to 3.0. 2008-06-10 04:44:07 +00:00
xml remove most uses of list(somedict.keys()) in Demo scripts 2007-08-06 21:07:53 +00:00
zlib Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
README Merge the rest of the trunk. 2006-06-08 15:35:45 +00:00

This directory contains various demonstrations of what you can do with
Python.  They were all written by me except where explicitly stated
otherwise -- in general, demos contributed by others ends up in the
../Contrib directory, unless I think they're of utmost general
importance (like Matt Conway's Tk demos).

A fair number of utilities that are useful when while developing
Python code can be found in the ../Tools directory -- some of these
can also be considered good examples of how to write Python code.

Finally, in order to save disk space and net bandwidth, not all
subdirectories listed here are distributed.  They are listed just
in case I change my mind about them.


cgi             CGI examples (see also ../Tools/faqwiz/.)

classes		Some examples of how to use classes.

comparisons	A set of responses to a really old language-comparison
		challenge.

curses		A set of curses demos.

embed		An example of embedding Python in another application
		(see also pysvr).

imputil		Demonstration subclasses of imputil.Importer.

md5test		Test program for the optional md5 module.

metaclasses	The code from the 1.5 metaclasses paper on the web.

parser		Example using the parser module.

pdist		Old, unfinished code messing with CVS, RCS and remote
		files.

pysvr		An example of embedding Python in a threaded
		application.

rpc		A set of classes for building clients and servers for
		Sun RPC.

scripts		Some useful Python scripts that I put in my bin
		directory.  No optional built-in modules needed.

sockets		Examples for the new built-in module 'socket'.

threads		Demos that use the 'thread' module.  (Currently these
		only run on SGIs, but this may change in the future.)

tix		Demos using the Tix widget set addition to Tkinter.

tkinter		Demos using the Tk interface (including Matt Conway's
		excellent set of demos).

xml		Some XML demos.

zlib		Some demos for the zlib module (see also the standard
		library module gzip.py).