While we&#x27;re talking Python best practices, I highly recommend using an `else` clause to keep the code being &#x27;excepted&#x27; to one line:<p><pre><code>  def handle_login():
    try:
      ph.verify(hash, &quot;s3kr3tp4ssw0rd&quot;)
    except VerificationError:
      log_bad_login()
      redirect_to_login()
    else:
      log_login()
      redirect_to_page()
</code></pre>
It&#x27;s not a big deal for this code, but in general this is good practice because<p>1. It makes it very obvious to the next developer which line is the one that is expected to raise that exception<p>2. One of the other lines could unintentionally raise that exception and mistakenly trigger the except clause. (This is more of an issue with Python&#x27;s built in exceptions than with something very specific like this `VerificationError` example.)