On Sat, Aug 29, 2009 at 01:13:12PM -0700, Joni Lee wrote:
> Hi all,
>
> I write a small script
>
> status = os.popen('top').readlines()
> print status
>
> It calls the command line "top" and will print out the status.
> But I have to press the keyboard "q" to quit "top", then the status
> will b
Hi all,
I write a small script
status = os.popen('top').readlines()
print status
It calls the command line "top" and will print out the status.
But I have to press the keyboard "q" to quit "top", then the status will be
printed, otherwise it just stands by with blank.
Question is. Do you know