subprocess.call
Ombongi Moraa Fe
moraa.lovetakes2 at gmail.com
Fri Apr 19 05:56:10 EDT 2013
Hi Team,
In my python script, I have this:
command="lynx -dump
'phpscript?param1=%s¶m2=%s¶m3=%s¶m4=%s¶m5=%s'"%(value1,value2,value3,value4)
result=subprocess.call(command,shell=True)
print 'xml message'
However, the response from running the php script is also printed on output
screen. I don't want this output.
How can i ensure that only the last print 'xml response' is returned?
Saludos
Ombongi Moraa Faith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130419/80884775/attachment.html>
More information about the Python-list
mailing list