title: How to make the program run again after unexpected exit in Python?
body: <p>I'm writing an IRC bot in Python, due to the alpha nature of it, it will likely get unexpected errors and exit.</p>
  
  <p>What's the techniques that I can use to make the program run again?</p>