Re: Running files with the associated program...

2008-02-06 Thread E-Lo
On Feb 6, 6:09 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 05 Feb 2008 22:34:59 -0200, E-Lo <[EMAIL PROTECTED]> escribió: > > > How can I start a file (on Windows) with the associated program, > > http://docs.python.org/lib/os-process.html#l2h-2760 > > startfile(path[, operation])

Re: Running files with the associated program...

2008-02-05 Thread Gabriel Genellina
En Tue, 05 Feb 2008 22:34:59 -0200, E-Lo <[EMAIL PROTECTED]> escribió: > How can I start a file (on Windows) with the associated program, http://docs.python.org/lib/os-process.html#l2h-2760 startfile(path[, operation]) Start a file with its associated application. When operation is not specified

RE: Running files with the associated program...

2008-02-05 Thread Adam Pletcher
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 c

Running files with the associated program...

2008-02-05 Thread E-Lo
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