On Fri, 1 Jun 2007, Brad Tompkins 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.

In addition to Grant's approach, if your filetype (say "mpg") is already 
associated with VLC, you can use this:

os.startfile('filename.mpg')
 

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to