You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ezio Melotti 1e87da16ea Remove duplication. 14 years ago
..
cgi normalize shebang lines to #!/usr/bin/env python 16 years ago
classes Merged revisions 82594,82599 via svnmerge from 16 years ago
comparisons Fix a demo. 16 years ago
curses #687648 from Robert Schuppenies: use classic division. (RM Barry gave permission to update the demos.) 18 years ago
embed #5753: update demo.c to use PySys_SetArgvEx(), and add a comment 16 years ago
md5test remove svn:executable from scripts without a shebang line 16 years ago
metaclasses Whitespace normalization. Ran reindent.py over the entire source tree. 22 years ago
newmetaclasses Replaced import of the 'new' module with 'types' module and added a deprecation warning to the 'new' module. 18 years ago
parser Update Demo/parser directory; backport unparse fixes from py3k. 16 years ago
pdist In a number of places code still revers 16 years ago
pysvr Untabify C files. Will watch buildbots. 16 years ago
rpc Update uses of string exceptions 18 years ago
scripts Remove ftpstats script, the daemon whose log files it reads is long gone. 16 years ago
sockets remove svn:executable from scripts without a shebang line 16 years ago
threads Remove duplication. 14 years ago
tix Remove duplication. 14 years ago
tkinter remove svn:executable from scripts without a shebang line 16 years ago
turtle #12677: correct turtle orientation in doc 15 years ago
xml Overhaul of Demo/xml. 16 years ago
zlib Use functions; modernize code 20 years ago
README Remove xmlrpc/ directory 20 years ago

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