calling command line programs?
chriss
chriss at streiff.org
Sun Sep 11 16:32:32 EDT 2005
Grant Edwards wrote:
> On 2005-09-10, chriss <chriss at streiff.org> wrote:
>
>>> Take a look at os.popen, os.spawn, or the popen2, and
>>> subprocess modules.
>>>
>>> That last one seems to be gaining popularity.
>>
>> The suggested modules and functions have been deprecated according to the
>> python 2.4 docs. The doc suggests to use the functions in the
>> 'subprocess' module.
>
> The subprocess module is depricated?
>
no, the subrocess module intends to replace modules and functions such as:
os.system
os.spawn*
os.popen*
popen2.*
commands.*
have a look at http://python.org/doc/2.4.1/lib/module-subprocess.html
More information about the Python-list
mailing list