Pexpect and buffering

Chris Rebert clp2 at rebertia.com
Sun Dec 16 04:44:44 CET 2012


On Dec 15, 2012 4:51 AM, <jim.hefferon at gmail.com> 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 an external Python
shell when you're in a Python program to begin with? Seems terribly
unnecessarily roundabout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121215/4a4b73b6/attachment.html>


More information about the Python-list mailing list