Hello,<br><br>I would like to raise an exception of type Exception(), however the regular exception stack trace needs to be supressed.<br><br>This is needed in a function that takes raw_input() from the user and based on &#39;Y&#39; or &#39;N&#39;, the function suspends further execution and returns to the python prompt or continues. An exit() brings it out of the python process....where as what is needed is coming back to the python prompt.<br>

<br>I want a custom message to appear instead of a regular exception stack trace message.<br><br>How to do this? any pointers...?<br>-- <br>Thanks and best regards,<br>Vishal Sapre<br><br>---<br><br>&quot;So say...Day by day, in every way, I am getting better, better and better !!!&quot;<br>

&quot;A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it&quot;<br>&quot;Diamond is another piece of coal that did well under pressure”<br>

&quot;Happiness keeps u Sweet, Trials keep u Strong, <br>Sorrow keeps u Human, Failure Keeps u Humble, <br>Success keeps u Glowing, But only God Keeps u Going.....Keep Going.....&quot;<br>