Hi,

I'm trying to get the output from the command top on Linux, using
python.  I'd like to start top, get a page of output, and then send top
the letter 'q' to end the process.

Looking around I've figured that the module pty can be used for this,
however, I can't find any good examples of how to use it.
Any ideas as to where I can look?

Thanks,

Morten

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to