Sorry to reply to my own post, but I believe I have my answer and I want to
help anyone who might google their way here: I need to change PROMPT and
PROMPT_CONTINUE to be regular expressions, for instance by escaping the periods.
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 15, 2012 4:51 AM, wrote:
>
> Hello,
>
> I'm trying to use pexpect to grab interactions with Python's REPL. I am
having trouble with tracebacks. Possibly it is related to buffering (hence
the subject line) but I admit that's a guess.
Why are you doing this in the first place? Why invoke a
Hello,
I'm trying to use pexpect to grab interactions with Python's REPL. I am having
trouble with tracebacks. Possibly it is related to buffering (hence the
subject line) but I admit that's a guess.
At the end of this message is a minimal example program. It feeds three
commands to a pytho