pseudo terminal usage from Python?

skip at pobox.com skip at pobox.com
Tue Dec 23 11:18:07 EST 2008


    Grant> Are you sure it's not Python buffering its input?  Have you tried
    Grant> "python -u mympstat.py"?

Hmmm...  No, I hadn't considered that.  I'll check it out.  Thanks...

    Grant> I had a Linux pty example running once upon a time.  If "python
    Grant> -u" doesn't work post again, and I'll try to find it.

Would be helpful even if I don't need it for this task, as I've not been
able to find any simple examples on the net.  (Maybe there's a recipe at
ActiveState, but Google didn't pick up anything with the search terms I was
using.)

Skip




More information about the Python-list mailing list