exiting a while loop

Grant Edwards grant.b.edwards at gmail.com
Fri May 22 12:31:39 EDT 2020


On 2020-05-22, Peter Otten <__peter__ at web.de> wrote:

> If you want to terminate the script you can use exit. However exit
> is a function, and you have to call it
>
> exit()

<pedantic>

Actually it's an instance of _sitebuiltins.Quitter not a function.

You still have to call it. ;)

</pedantic>

--
Grant



More information about the Python-list mailing list