5 Python good practices which make life easier
Welcome to the next pikoTutorial!
Print exceptions traceback after catching them
Consider the following example code that raises an exception:
def send_request():
raise RuntimeError('Send request timeout!')
def do_something():
send_request()...
pikotutorial.hashnode.dev4 min read