def interact(self, ps1="shparse> ", ps2="more> "):
        try:
            while 1:
                line = raw_input(ps1)
                if not line:
                    continue
                line += "\n" # add newline to force callback
                while self.feed(line):
                    line = raw_input(ps2)
        except (EOFError, __HOLE__):
            print
dataset/ETHPy150Open kdart/pycopia/core/pycopia/shparser.py/ShellParser.interact