<p dir="ltr"><br>
On Dec 15, 2012 4:51 AM, <<a href="mailto:jim.hefferon@gmail.com">jim.hefferon@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> 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.</p>
<p dir="ltr">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.</p>