0
0
mirror of https://github.com/python/cpython.git synced 2024-11-25 09:39:56 +01:00
cpython/Demo
1994-06-20 11:36:09 +00:00
..
classes Use time.time() instead of time.millitimer() 1994-02-17 12:36:58 +00:00
cwilib Restructured main loop. Etc. 1993-11-01 14:50:59 +00:00
rpc Use time.time() instead of time.millitimer() 1994-02-17 12:36:58 +00:00
scripts Quentin's latest version 1994-05-27 13:33:17 +00:00
sgi Fixed faulty apply call 1994-06-07 14:44:02 +00:00
sockets listen(0) -> listen(1) for Solaris 2 1994-02-28 09:31:19 +00:00
stdwin Remove unused import of builtin 1994-01-26 16:03:50 +00:00
threads Added optional lock parameter to condition class. 1994-05-18 08:14:04 +00:00
tkinter/guido Fix initial fill color of square 1994-06-20 11:36:09 +00:00
Makefile Initial revision 1994-01-04 23:24:38 +00:00
README Added descriptions of lutz, mpzpi.py and stoffel 1994-02-22 12:48:21 +00:00

This directory contains various demonstrations of what you can do with
Python.  Most demos are grouped sub(sub*)directories according to
required optional built-in modules or specific platform; there is also
a set of generally useful scripts and there are some more-or-less
complete applications.

classes		Some examples of how to use classes.

embed		An example of embedding Python in another application.

ibrowse		An Emacs info file browser (uses stdwin).
		See also ../doc (the Python library documentation can
		be converted to info format).

lutz		Some demos written by Mark Lutz -- includes a nice
		enhanced Python shell!!!

md5test		Test program for the optional md5 module.

mpzpi.py	Currently the only test for mpz -- print digits of pi
		(compare scripts/pi.py).

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

rsa		An RSA public-key cryptosystem (needs mpz and md5).

scripts		Some useful Python scripts that I put in my bin
		directory.  No optional built-in modules needed.

stoffel		Some games written by Stoffel Erasmus.

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

sgi		Demos that only run on Silicon Graphics machines.
		These require at least one of the optional built-in
		modules that only make sense for the SGI, such as
		'gl', 'al', and 'sv'.  Split in subdirectories
		per subject.

stdwin		Demos that use the STDWIN library.  Require the 'stdwin'
		built-in module.

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

WARNING: many scripts are executable and have a first line saying

	#! /usr/local/bin/python

This is unlikely to give good results unless you've really installed
the latest version python there.  Edit the first line before
installing such scripts; to try them out, you can just say "python
foo.py" or enter python interactively and say "import foo".