I don't like the idea of that magic goto. But: with ...: ... except ...: ... ... as a shortcut for: try: with ...: ... except ...: ... ... IMHO seems to be worth considering. Regards. *j