Hi,
I would like to know if Python supports codes similar to shell scripts:
count=`ps -ef|grep "pattern"|w c -l`
for count in `echo $count`
do
done
fi
Can I export a variable say var from os.system("var= `ps -ef|grep pattern|wc
-l`")
thanks
_______________ _______________ _______________ _______________ _____
Cell phone ‘switch’ rules are taking effect — find out more here.
I would like to know if Python supports codes similar to shell scripts:
count=`ps -ef|grep "pattern"|w c -l`
for count in `echo $count`
do
done
fi
Can I export a variable say var from os.system("var= `ps -ef|grep pattern|wc
-l`")
thanks
_______________ _______________ _______________ _______________ _____
Cell phone ‘switch’ rules are taking effect — find out more here.
Comment