os.popen and the subprocess module

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Nov 27 19:29:31 CET 2012


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.




More information about the Python-list mailing list