Profile
Achievement
 
    
                ManishChandraReddy's Recent Snippets
- All /
 « 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 
        
        
            3306 
        
                    posted 9 years ago by ManishChandraReddy