title: How to exit from Python without traceback?
body: <p>I would like to know how to I exit from Python without having an traceback dump on the output. </p>
  
  <p>I still want want to be able to return an error code but I do not want to display the traceback log.</p>
  
  <p>I want to be able to exit using <code>exit(number)</code> without trace but in case of an Exception (not an exit) I want the trace.</p>