On Mon, 08 Sep 2008 21:03:48 +0200, Christian Heimes <lists@cheimes. dewrote:
It works. Why shouldn't it be used?
Jean-Paul
>Gary Robinson wrote:
>
>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.
>
>>In Python 2.5.2, I notice that, in the interpreter or in a script, I can
>>exit with:
>>
> exit()
>>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.
>
Jean-Paul