[Tutor] Launch external application?

Grant Hagstrom grantahagstrom at gmail.com
Sat Jun 2 06:12:48 CEST 2007


Brad,

I believe that this will work . . .

import os
os.system(your_exe.exe)

in my case the following code opens the nautilus file browser

import os
os.system('nautilus')

best of luck,

Grant

On 6/1/07, Brad Tompkins <bradleytompkins at gmail.com> wrote:
>
> Is there an easy way to make a python script that will launch an external
> application for me ?  I'm using Windows XP and I'm trying to create a little
> front end that will launch the VLC media player for me.
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070601/b0f32506/attachment.html 


More information about the Tutor mailing list