"Henning Peters" <pete at dexterslab.de> writes: > normally, the second argument of except takes the variable name. the problem > is, how i should get the variable, if i want to catch ALL exceptions. You should use sys.exc_info(). HTH, Martin