Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import traceback
- import webbrowser
- import sys
- def GoogleException():
- exc_type, exc_obj, tb = sys.exc_info()
- webbrowser.open('https://ru.stackoverflow.com/search?q=' + str(exc_obj) + " [python]", new=1)
- try:
- i = 2/0
- except:
- print(traceback.format_exc())
- GoogleException()
Add Comment
Please, Sign In to add comment