Welcome To Snipplr


Everyone's Recent Python Snippets Tagged error



« Prev 1 Next »
The try ... except statement has an optional else clause, which, when present, must follow all except clauses. It is useful for code that must be executed if the try clause does not raise an exception. For example:
0 767 posted 8 years ago by ManishChandraReddy
0 530 posted 14 years ago by magicrebirth
« Prev 1 Next »