D
Daven Nair
Hi,
I would like to know if Python supports codes similar to shell scripts:
count=`ps -ef|grep "pattern"|wc -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.
http://special.msn.com/msnbc/consumeradvocate.armx
I would like to know if Python supports codes similar to shell scripts:
count=`ps -ef|grep "pattern"|wc -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.
http://special.msn.com/msnbc/consumeradvocate.armx