title: Python Is there a shutdown equivalent to __init__ ()
body: <p>I use <code>__init__()</code> functions a lot in Python classes to set up things when a class is first called. </p>
  
  <p>Is there an equivalent function that is called when a script is shutting down?</p>