cpython/Demo
Guido van Rossum 805365ee39 Merged revisions 55007-55179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
  r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines

  Use the new print syntax, at least.
........
  r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line

  remove old cruftiness
........
  r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line

  make this work with the new Python
........
  r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line

  Get asdl code gen working with Python 2.3.  Should continue to work with 3.0
........
  r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line

  Verify checkins to p3yk (sic) branch go to 3000 list.
........
  r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line

  Fix this test so it runs again by importing warnings_test properly.
........
  r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines

  So long xrange.  range() now supports values that are outside
  -sys.maxint to sys.maxint.  floats raise a TypeError.

  This has been sitting for a long time.  It probably has some problems and
  needs cleanup.  Objects/rangeobject.c now uses 4-space indents since
  it is almost completely new.
........
  r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines

  Fix two tests that were previously depending on significant spaces
  at the end of a line (and before that on Python 2.x print behavior
  that has no exact equivalent in 3.0).
........
2007-05-07 22:24:25 +00:00
..
cgi SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
classes - patch #1600346 submitted by Tomer Filiba 2006-11-28 19:15:13 +00:00
comparisons SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
curses Merge the rest of the trunk. 2006-06-08 15:35:45 +00:00
embed Remove .cvsignore files, as they live in svn:ignore 2005-10-30 22:01:41 +00:00
imputil
md5test Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
metaclasses Remove apply() 2006-03-17 08:00:19 +00:00
newmetaclasses Use decorators. 2005-01-16 00:16:11 +00:00
parser Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
pdist SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
pysvr SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
rpc SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
scripts SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
sockets SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
threads SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
tix Merged revisions 55007-55179 via svnmerge from 2007-05-07 22:24:25 +00:00
tkinter SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
xml Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
zlib Merge the rest of the trunk. 2006-06-08 15:35:45 +00:00
README Merge the rest of the trunk. 2006-06-08 15:35:45 +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).