Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33976

Re: os.popen and the subprocess module

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'essentially': 0.04; 'output': 0.04; 'deprecated': 0.07; 'executable': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; '3.3,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subprocess': 0.16; 'wrote:': 0.17; 'implementing': 0.17; 'module,': 0.17; 'meant': 0.21; 'runs': 0.22; 'url:bugs': 0.24; 'script': 0.24; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'andrew': 0.27; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; "i'm": 0.29; 'url:python': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'received:org': 0.36; 'but': 0.36; 'url:org': 0.36; 'data.': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'think': 0.40; 'easy': 0.60; 'more.': 0.62; 'hear': 0.63; 'here': 0.65; 'analysis': 0.70; 'kicking': 0.84; 'analyses': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: os.popen and the subprocess module
Date Tue, 27 Nov 2012 18:29:31 +0000
References <op.wof1nunc23fxu8@drewx-pc>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-24-212-75.ppp.as43234.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
In-Reply-To <op.wof1nunc23fxu8@drewx-pc>
X-Antivirus avast! (VPS 121127-0, 27/11/2012), Outbound message
X-Antivirus-Status Clean
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.318.1354040927.29569.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1354040927 news.xs4all.nl 6843 [2001:888:2000:d::a6]:35268
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33976

Show key headers only | View raw


On 27/11/2012 18:00, Andrew wrote:
> Hello world,
>
> I'm working on a script that will run an executable obtaine the output
> from the executable
> and do some analysis on the output. Essentially the script runs the
> executable analyses
> the data.
> I'm looking into os.popen and the subprocess module, implementing
> os.popen is easy but i hear
> it is depreciating  however I'm finding the implemantation of subprocess
> daunting can anyone help
>
> Dx

os.popen is alive and kicking in Python 3.3, see here 
http://bugs.python.org/issue6490 for more.  And I think you meant 
deprecated :)

-- 
Cheers.

Mark Lawrence.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: os.popen and the subprocess module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-11-27 18:29 +0000

csiph-web