Newbie: How to launch other executables from Python?

Skip Montanaro skip at pobox.com
Fri Dec 6 01:26:33 EST 2002


    Denis> I would like to launch another program (*.exe) with some command
    Denis> line arguments from my Python script. Googling around didn't
    Denis> help...

Check the docs for the os module.  In particular, you will be interested in
the os.spawn* functions.

-- 
Skip Montanaro - skip at pobox.com
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list