John Salerno wrote:
"Joshua Kugler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]except: passis the usual technique there.Is there any other?
Sure. Evaluating any side-effect free expression and ignoring the result will work:
try:
# do somthing
except:
None
try:
# do something
except:
"I don't care about the exception."
Of course, using pass *is* the preferred method.
--
Carsten Haese
http://informixdb.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-list
