how to start a python file from python code

Grant Edwards grante at visi.com
Tue Apr 3 09:15:09 PDT 2007


On 2007-04-03, Robert VERGNES <robert.vergnes at yahoo.fr> wrote:

> I have trying to launch another application from Python using spawn unedr WinXP but no success. I had to use startfile. 
> But startfile is not recognized by Linux... any idea ?

Use either the subprocess module or os.system()

-- 
Grant Edwards                   grante             Yow!  Everybody is going
                                  at               somewhere!! It's probably
                               visi.com            a garage sale or a disaster
                                                   Movie!!





More information about the wxpython-users mailing list