Re: exit()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean-Paul Calderone

    Re: exit()

    On Mon, 08 Sep 2008 21:03:48 +0200, Christian Heimes <lists@cheimes. dewrote:
    >Gary Robinson wrote:
    >>In Python 2.5.2, I notice that, in the interpreter or in a script, I can
    >>exit with:
    >>
    > exit()
    >
    >The exit callable is defined in the site module. Check out site.py! It
    >shouldn't be used in code. It was added to help newbies to 'escape' from an
    >interactive Python shell.
    >
    It works. Why shouldn't it be used?

    Jean-Paul
Working...