Joe Strout's

Python Code


Python is an interpreted programming language which runs on many different kinds of computers, is object-oriented, and is very easy to learn. I discovered Python a few years ago, and immediately fell in love with it. This site contains Python code, written by me and a few others, which you may find interesting, amusing, and possibly even useful.
Python Tidbits These are a number of short scripts, perfect for newbies who want some nice small (and hopefully well-commented) examples. A few of them will be interesting to more experienced Pythoners as well.
Piddle This module provides a cross-platform and cross-media drawing toolkit. It handles lines, polygons, curves, figures, and text -- powerful enough for professional plotting, and simple enough for anyone to use.
Graphite A powerful cross-platform graphing and plotting library built on top of Piddle.
edit This is a module for use with the MacPython IDE, which allows you to type "edit(foo)" to launch an editor appropriate for foo's datatype. (Exceedingly cool.)
AI in Python Here are a few experiments in artificial intelligence using Python, from the frivolous (an implementation of the classic "Eliza") to quite serious (an expert-system inference shell).
POO POO is a MOO (object-oriented, multi-user network conferencing system) written entirely in Python. The best thing about POO is that all the online coding is done in Python, too. This one is definitely a "must see".
BUS The Basic Universe Simulator is an engine for interactive fiction, in the classic Infocom style (though BUS's parser is more sophisticated than Infocom's!). The code is short and hopefully clear; it's intended as a bare-bones demo or skeleton code for creating interactive fiction in Python.
PUB The Python Universe Builder is BUS's big brother; it's a sophisticated interactive-fiction engine, with support for network play, and a fully extensible object-oriented design. A sample game or two is available as well.
Pythonica On the more serious side: Pythonica is a Python implementation of a symbolic math program, inspired by Mathematica. This page is a "white paper" discussing the principles behind symbolic computing, with links to the code (only 2 files!).
Can't get enough Python? Check out these links to other Python archives.

Want to chat with other Python users? My Python ICQ Page keeps a list of Python users willing to chat via the ICQ protocol.


http://www.strout.net/info/coding/python/index.html
Last Updated: 4/27/99 . . . . . . webmaster@strout.net