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


Groups > comp.lang.python > #33975

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 <drew00andy@yahoo.co.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.098
X-Spam-Evidence '*H*': 0.82; '*S*': 0.01; 'essentially': 0.04; 'output': 0.04; 'executable': 0.07; 'subject:module': 0.09; 'subprocess': 0.16; 'implementing': 0.17; 'module,': 0.17; 'runs': 0.22; 'script': 0.24; 'header:User-Agent:1': 0.26; 'run': 0.28; 'learn,': 0.29; "i'm": 0.29; 'from:addr:yahoo.co.uk': 0.32; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'but': 0.36; 'data.': 0.36; 'some': 0.38; 'to:addr:python.org': 0.39; 'help': 0.40; 'easy': 0.60; 'received:208': 0.63; 'hear': 0.63; 'finally': 0.66; 'received:98.137': 0.66; 'analysis': 0.70; 'received:gq1.yahoo.com': 0.71; 'received:mail.gq1.yahoo.com': 0.71; 'received:98.136': 0.72; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'analyses': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1354039271; bh=66n6haCjT+NzrfvMe6oZExt0IFrOj3zWpTJ7jh67R00=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:To:Date:Subject:MIME-Version:Content-Transfer-Encoding:From:Organization:Message-ID:User-Agent; b=M6aXSjgj8/ytF9qm5f9t/aVoC95UzmtOcrN1zjEHumB5hOo/YzdLWpGEp0L5zQjI77SwTA/AUzq2lZ26Md8D0E8G6J3xf9FLmcVqLnK8xaoi+KjPcXmIdYQxgpVql2YM27rCDmIF/l8bJqiZ2HyX1KAGgBRzBzMKIanVQJf7LSo=
X-Yahoo-Newman-Id 351949.32054.bm@smtp219.mail.gq1.yahoo.com
X-Yahoo-Newman-Property ymail-3
X-YMail-OSG 5nRizh0VM1nzpvaHXc7DGO7mnV7ndwcYiOGZ9Zvh0wW6Ade UDt8xk8ZB8zfIxBIRMzYCGEFPxzGyJK6N7_gehmUTR4I65TMmodTNL7sfkHj hfpVdRwdzIloSrqZgiEH9ZRRzP3EfuzBfNIt7LtuuRQReAT9ychKDo4kILw3 jGfjpbfxxAorDJy1bpc6q6RC.nrpHggggxi5uygliGUqDhBk7_oLq5TztwSG 0U0qTDKkBy3vjyD6iM84Bqlk2NpQ6SqEVw_EV6UAHlW5hRPXGvC3sqkpb.S9 O..TtFS3vqe0_9PWaoriL_x2yJ8bkby_eqJbLZuZAqgHpwxAWO9.g7rrt_I3 GQaS0Cf1hb4IpOjxACfRGq5WAVx7nzbFMInI1D9R2XP2JcTO2Bi8rndsvZ9b a0UuaJeXkPZYEaX.jwPB5cfQcRGGtM133vOmcpi2JhyS0oBNGC2z8uMDm3kW ySZrvWKjZBMJAHkQ-
X-Yahoo-SMTP NxtNeg6swBDa3S2c_ixRHwSVDlIXyVI-
Content-Type text/plain; charset=utf-8; format=flowed; delsp=yes
To python-list@python.org
Date Tue, 27 Nov 2012 20:00:56 +0200
Subject os.popen and the subprocess module
MIME-Version 1.0
Content-Transfer-Encoding Quoted-Printable
From Andrew <drew00andy@yahoo.co.uk>
Organization Drew X
User-Agent Opera Mail/12.00 (Win32)
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.316.1354039468.29569.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1354039468 news.xs4all.nl 6919 [2001:888:2000:d::a6]:58268
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33975

Show key headers only | View raw


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
-- 
守破離(shuhari)first learn, then detach, and finally transcend

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


Thread

os.popen and the subprocess module Andrew <drew00andy@yahoo.co.uk> - 2012-11-27 20:00 +0200
  Re: os.popen and the subprocess module Tim Roberts <timr@probo.com> - 2012-11-28 20:14 -0800
  Re: os.popen and the subprocess module Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-11-29 10:09 +0100
    Re: os.popen and the subprocess module Nobody <nobody@nowhere.com> - 2012-11-29 18:39 +0000
      Re: os.popen and the subprocess module emile <emile@fenx.com> - 2012-11-30 10:01 -0800

csiph-web