On Fri, May 23, 2003 at 08:57:56AM -0400, Peter Hansen wrote: > Andrew Bennetts wrote: > > > > Of course, if the status code was left as a string, then you could simply do > > "if code.startswith('2'):" :) > > if str(code).startswith('2'): ?? Note the words "if the status code was left as a string" :) -Andrew.