28 Dec
2005
28 Dec
'05
12:39 a.m.
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.