Check out Tim Peter's doctest.py (I think that's what it's called. I broke my web browser so that I could get my thesis done, so I can't check right now. :) It shows a great way to use doc strings for examples of how to use the code they pertain to and make sure the examples are up to date. Alex.