On 12/28/05, Aahz <aahz at pythoncraft.com> wrote: > Here's yet a different take on this: why not simply change the startup > message? Whether we choose "quit" or "exit", someone will get it wrong > unless there's an alias. Changing the message is free. Currently we > have > > Type "help", "copyright", "credits" or "license" for more information. > > Let's add another line that says > > Type "quit()" to exit > > Defining it as "def quit(): raise SystemExit" should be fine. > -- Just because people don't read unless it it thrown in their face. =) But that is still nice and simple and won't hurt. I would still suggest using a class so that the repr can give a useful message, though. -Brett
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4