Ian Clark pointed me to: > ... the cmd module. > <http://docs.python.org/lib/module-cmd.html> Yes, I found that, but I could only get it to print a nice interactive prompt, "(Cmd)", read a line of input and discard it. Apparently, I'm too stupid to figure out how to hook it into python. Jim