README 1.71 KB
Newer Older
Guido van Rossum's avatar
Guido van Rossum committed
1
This directory contains various demonstrations of what you can do with
2 3 4 5 6 7 8 9 10 11 12 13 14
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.

15 16 17

classes		Some examples of how to use classes.

18 19
embed		An example of embedding Python in another application
		(see also pysvr).
20

21 22 23 24
extend		An example of using the generic Makefile.pre.in from
		the Misc directory to build a statically linked or
		shared extension module.

25 26
md5test		Test program for the optional md5 module.

27 28 29
pysvr		An example of embedding Python in a threaded
		application.

30 31 32
rpc		A set of classes for building clients and servers for
		Sun RPC.

Guido van Rossum's avatar
Guido van Rossum committed
33
scripts		Some useful Python scripts that I put in my bin
34
		directory.  No optional built-in modules needed.
Guido van Rossum's avatar
Guido van Rossum committed
35 36 37 38

sockets		Examples for the new built-in module 'socket'.

sgi		Demos that only run on Silicon Graphics machines.
39 40
		These require at least one of the optional built-in
		modules that only make sense for the SGI, such as
41
		'gl', 'al', and 'sv'.  Split in subdirectories
42
		per subject.
Guido van Rossum's avatar
Guido van Rossum committed
43

44 45 46
threads		Demos that use the 'thread' module.  (Currently these
		only run on SGIs, but this may change in the future.)

47 48
tkinter		Demos using the Tk interface (including Matt Conway's
		excellent set of demos).