Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43893
| From | Ombongi Moraa Fe <moraa.lovetakes2@gmail.com> |
|---|---|
| Date | 2013-04-19 12:56 +0300 |
| Subject | RE: subprocess.call |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.819.1366365414.3114.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
RE: subprocess.call Ombongi Moraa Fe <moraa.lovetakes2@gmail.com> - 2013-04-19 12:56 +0300 Re: subprocess.call Mau C <nobody@hotmail.com> - 2013-04-19 12:32 +0200 Re: subprocess.call jt@toerring.de (Jens Thoms Toerring) - 2013-04-19 14:43 +0000
csiph-web