In [11]: rolo.cmdloop() Justin's Friends: OK, I'm leaving --------------------------------------------------------------------------- SystemExit Traceback (most recent call last) /Volumes/Stuff/SandBox/sb/PyrexTest/PyHecke/ /Users/justin/Python/lib/python2.3/cmd.py in cmdloop(self, intro) 131 line = line[:-1] # chop \n 132 line = self.precmd(line) --> 133 stop = self.onecmd(line) 134 stop = self.postcmd(stop, line) 135 self.postloop() /Users/justin/Python/lib/python2.3/cmd.py in onecmd(self, line) 208 except AttributeError: 209 return self.default(line) --> 210 return func(arg) 211 212 def emptyline(self): /Volumes/Stuff/SandBox/sb/PyrexTest/PyHecke/rolo.py in do_EOF(self, line) 40 def do_EOF(self, line): 41 print "OK, I'm leaving" ---> 42 sys.exit() 43 44 def help_save(self): SystemExit: Use Ctrl-D (i.e. EOF) to exit. Use %Exit or %Quit to exit without confirmation. In [12]: