I have created the script till here .. import os
os.chdir("/var/log")
fd = open("t1.txt", "r")
for line in fd:
if re.match("(.*)(file1)(.*)", line):
print line,
Output :
file1
--------------------
this script i ran on the linux server, but now i want to run this script from
another linux server and get the output displayed there..how can i do that...
i tried to use : pexpect
but getting no help..
--
https://mail.python.org/mailman/listinfo/python-list
