cpython/Demo
Serhiy Storchaka cc49aa1381 Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
2015-02-22 17:22:53 +02:00
..
cgi normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
classes Merged revisions 82594,82599 via svnmerge from 2010-07-27 08:45:35 +00:00
comparisons Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 18:59:17 +02:00
curses Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 18:59:17 +02:00
embed #5753: update demo.c to use PySys_SetArgvEx(), and add a comment 2010-06-11 00:16:08 +00:00
md5test Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 18:59:17 +02:00
metaclasses Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
newmetaclasses Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py. 2013-07-16 22:11:28 +03:00
parser Update Demo/parser directory; backport unparse fixes from py3k. 2010-06-30 14:19:56 +00:00
pdist In a number of places code still revers 2010-05-05 19:09:31 +00:00
pysvr Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
rpc Update uses of string exceptions 2008-09-13 01:57:25 +00:00
scripts nuke ancient script with dubious license (closes #12987) 2014-12-02 18:45:23 -05:00
sockets remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
threads Remove duplication. 2011-10-19 10:39:35 +03:00
tix Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 18:59:17 +02:00
tkinter Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 18:59:17 +02:00
turtle Issue #6639: Module-level turtle functions no longer raise TclError after 2015-02-22 17:22:53 +02: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).