mirror of
https://github.com/python/cpython.git
synced 2024-11-30 18:51:15 +01:00
2a691a8149
svn+ssh://pythondev@svn.python.org/python/trunk ........ r62021 | benjamin.peterson | 2008-03-28 18:11:01 -0500 (Fri, 28 Mar 2008) | 2 lines NIL => NULL ........ r62029 | amaury.forgeotdarc | 2008-03-28 20:42:31 -0500 (Fri, 28 Mar 2008) | 3 lines Correctly call the base class tearDown(); otherwise running test_logging twice produce the errors we see on all buildbots ........ r62035 | raymond.hettinger | 2008-03-29 05:42:07 -0500 (Sat, 29 Mar 2008) | 1 line Be explicit about what efficient means. ........ r62036 | georg.brandl | 2008-03-29 06:46:18 -0500 (Sat, 29 Mar 2008) | 2 lines Fix capitalization. ........ r62037 | amaury.forgeotdarc | 2008-03-29 07:42:54 -0500 (Sat, 29 Mar 2008) | 5 lines lib2to3 should install a logging handler only when run as a main program, not when used as a library. This may please the buildbots, which fail when test_lib2to3 is run before test_logging. ........ r62043 | benjamin.peterson | 2008-03-29 10:24:25 -0500 (Sat, 29 Mar 2008) | 3 lines #2503 make singletons compared with "is" not == or != Thanks to Wummel for the patch ........ r62044 | gerhard.haering | 2008-03-29 14:11:52 -0500 (Sat, 29 Mar 2008) | 2 lines Documented the lastrowid attribute. ........ r62052 | benjamin.peterson | 2008-03-30 14:35:10 -0500 (Sun, 30 Mar 2008) | 2 lines Updated README regarding doc formats ........ r62053 | georg.brandl | 2008-03-30 14:41:39 -0500 (Sun, 30 Mar 2008) | 2 lines The other download formats will be available for 2.6 too. ........ |
||
---|---|---|
.. | ||
cgi | ||
classes | ||
comparisons | ||
curses | ||
embed | ||
imputil | ||
md5test | ||
metaclasses | ||
newmetaclasses | ||
parser | ||
pdist | ||
pysvr | ||
rpc | ||
scripts | ||
sockets | ||
threads | ||
tix | ||
tkinter | ||
xml | ||
zlib | ||
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).