Shouldn't be necessary. But consider using a finally
clause instead of except
for cleanup operations. Also, python won't catch pure java exceptions unless you use double except clauses, like so:
1 Like