On Sun, 2004-02-15 at 11:35, David Mallwitz wrote:
> Change your import line to read:
>
> import string, random, os
>
> add this to read your uptime:
>
> uptime=string.strip(os.popen("/usr/bin/uptime").readline())
>
> add this to wherever you want it printed:
>
> print uptime
>
>
> Dave
Thanks, Dave. One last item if you have the patience. What would I
need to add the output of 'uname -a'?
Thanks again.
--
Cheers,
Trey
---
In answer to the question of why it happened,
I offer the modest proposal that our Universe is simply
one of those things which happen from time to time.
--Edward P. Tryon
11:58am up 3:21, 1 user, load average: 0.93, 0.51, 0.59
--
[EMAIL PROTECTED] mailing list