import subprocess
proc = subprocess.Popen(r'C:\example.bmp', shell=True)
 
- Adam

________________________________

From: [EMAIL PROTECTED] on behalf of E-Lo
Sent: Tue 2/5/2008 6:34 PM
To: python-list@python.org
Subject: Running files with the associated program...



Hello all,

How can I start a file (on Windows) with the associated program,

Like if I want to open a bmp file, I want to to be shown in the
program that all bmp files are associated with.

I need a python code to do this.

Thanks,
--
http://mail.python.org/mailman/listinfo/python-list


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to