Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43893
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <moraa.lovetakes2@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.077 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.03; 'output': 0.05; 'subject:skip:s 10': 0.07; 'screen.': 0.09; 'python': 0.11; "response'": 0.16; 'script,': 0.16; 'team,': 0.22; 'print': 0.22; 'script': 0.25; 'this:': 0.26; 'message-id:@mail.gmail.com': 0.30; 'saludos': 0.31; 'running': 0.33; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'ensure': 0.60; 'skip:r 40': 0.68; "message'": 0.84; 'received:mail-ob0-x22f.google.com': 0.84; "skip:' 110": 0.84; 'faith': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=FFyb9IiEhOqi+pboluOmBbZaZyga+qxuxdhumXKFYfI=; b=zDPtnS3ZABwPkNpoffiB6XUeQpI4QGrTDrR4EBSj2PEJCvQ3U04PvkhZ+cV8dt1Ts+ ckGXjdYPwtZ4v9UflmyJg28PQXDzcvu3omhguxiPlDLJrui6KQXuMI3xAzrh27LG1ySo sKVksVOHW3SEp6xadaLbIJW//9j7/X3Oa5/RhGSw+4fontqJj9f3WiVhIP1kZVg3jbxO xgbpcZKMXoidpb61YDyKWSdEz4p3BrETaeLpg5Yj+JzXF/kIRzcLTOlEZ/liJbq3tLQ5 rEGz57Ifypd60uibQ9j1FIbwRLbRT5fHvAHeKNyAkL3GIsrbz+BNdCS6vn6+BvClLlkd L04Q== |
| X-Received | by 10.60.131.98 with SMTP id ol2mr3171146oeb.37.1366365411023; Fri, 19 Apr 2013 02:56:51 -0700 (PDT) |
| MIME-Version | 1.0 |
| From | Ombongi Moraa Fe <moraa.lovetakes2@gmail.com> |
| Date | Fri, 19 Apr 2013 12:56:10 +0300 |
| Subject | RE: subprocess.call |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=089e01183b7af525b404dab3bcf6 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.819.1366365414.3114.python-list@python.org> (permalink) |
| Lines | 51 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366365414 news.xs4all.nl 2291 [2001:888:2000:d::a6]:47530 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43893 |
Show key headers only | View raw
[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