Now if I do this to all the functions;
def slog():
sudo = "sudo"
tail = "tail"
targ = "-f" # output appended data as the file grows
sfile = "/var/log/messages"
print colored("<syslog>", "blue")
call([sudo, tail, sfile])
Only the first function will print to the screen.
thanks in advance,
-david
oops should be;
def slog():
sudo = "sudo"
tail = "tail"
targ = "-f" # output appended data as the file grows
sfile = "/var/log/messages"
print colored("<syslog>", "blue")
call([sudo, tail, targ, sfile])
--
Powered by Gentoo GNU/LINUX
http://www.linuxcrazy.com
pgp.mit.edu
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor