> Since Python does not support embedded assignment, there's no way to > read and test at the same time. SIGH. Hi Bob, There is a set-and-test sort of recipe in the Python Cookbook: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66061 Hope this helps!