Unix commands within Python code

Grant Edwards grante at visi.com
Thu Jul 15 14:06:10 EDT 2004


On 2004-07-15, Kory Wheatley <wheakorypersonal at yahoo.com> wrote:
> Hi all,
>
> I've just started to learn Python and I have a
> question.
>
> What is the syntax to embed Unix commands, or call
> other programs within a Python script?

http://docs.python.org/lib/os-process.html

http://docs.python.org/lib/module-popen2.html

http://docs.python.org/lib/module-commands.html


-- 
Grant Edwards                   grante             Yow!  YOW!! I'm in a very
                                  at               clever and adorable INSANE
                               visi.com            ASYLUM!!



More information about the Python-list mailing list