Wednesday, 28 November 2012

Catch all exception in Python3

to catch all exceptions in python3 simple do like bellow

try:
    code
except:
    print("Unknown Exception found")

Share This!



No comments:

Post a Comment

Here We Write The Problems we face at different situations and Solutions to those problems.