[Python-Dev] quit() on the prompt

Oleg Broytmann phd at mail2.phd.pp.ru
Wed Mar 8 13:52:50 CET 2006

On Wed, Mar 08, 2006 at 12:39:51PM +0000, Steve Holden wrote:
> Oleg Broytmann wrote:
> >>>>raise SystemExit("quit() called")
> > 
> > quit() called
> > Error!
> > 
> I should imagine the use cases for running an interactive Python shell 
> as a part of a script are fairly few and far between, though.

   IDEs. Edit a code in an editor, run python -i script.py, investigate the
environment, return to the editor, get error message.

     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-Dev mailing list