[Python-Dev] a quit that actually quits

Alan McIntyre alan.mcintyre at gmail.com
Wed Dec 28 01:39:48 CET 2005


Brett Cannon wrote:

>And Tim had a good point about PDAs and such; how are they supposed to
>exit?  What if someone picked up Python for their Nokia S60 phone and
>tried to exit from the interpreter?  Unless Nokia has tweaked
>something I don't know how they would know to exit without knowing
>about sys.exit() or raising SystemExit since I wouldn't know how to do
>the equivalent Ctrl-D on a cell phone.
>  
>
The version of Python on my phone (2.2.2) doesn't recognize "quit" or
"exit," but there is a soft key conveniently labeled "Exit" which drops
out of the interactive console.


More information about the Python-Dev mailing list