"dave" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | bear, | thanks for the suggestions. I use IDLE to write the code and when it's | working I paste it over into a new window.
Or you can just save code you want to keep to a new name. | To add doctests would I need to use a certain | filename for the tests to be run on? You can run a doctest on a file from within the file (as well as from without). if __name__ == '__main__': <run doctest> I presume the manual gives the details. | Can you have doctests on random functions? ??? tjr -- http://mail.python.org/mailman/listinfo/python-list