cpython/Demo
Ronald Oussoren 9545a23c7f In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).

Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
..
cgi normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
classes remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
comparisons Fix a demo. 2009-10-25 20:25:43 +00:00
curses #687648 from Robert Schuppenies: use classic division. (RM Barry gave permission to update the demos.) 2008-09-13 01:22:08 +00:00
embed correct version 2008-08-18 01:27:05 +00:00
imputil Move knee.py from Lib/ to Demo/imputil/. Fixes #515745. 2002-04-07 16:29:36 +00:00
md5test remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
metaclasses Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
newmetaclasses Replaced import of the 'new' module with 'types' module and added a deprecation warning to the 'new' module. 2007-11-27 21:34:01 +00:00
parser get unparse to at least unparse its self 2008-08-19 17:59:23 +00:00
pdist In a number of places code still revers 2010-05-05 19:09:31 +00:00
pysvr
rpc Update uses of string exceptions 2008-09-13 01:57:25 +00:00
scripts Remove ftpstats script, the daemon whose log files it reads is long gone. 2009-10-11 14:49:37 +00:00
sockets remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
threads Update uses of string exceptions 2008-09-13 01:57:25 +00:00
tix remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
tkinter remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
turtle normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
xml Overhaul of Demo/xml. 2009-10-11 15:06:44 +00:00
zlib Use functions; modernize code 2006-06-03 23:39:07 +00:00
README Remove xmlrpc/ directory 2006-06-03 23:47:22 +00:00

README

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).