Programatically stop execution of python script?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/73663/terminating-a-python-script">Terminating a Python script</a>  </p>
</blockquote>



<p>Is it possible to stop execution of a python script at any line with a command?</p>

<p>Like</p>

<pre><code>some code

quit() # quit at this point

some more code (that's not executed)
</code></pre>
