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])
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
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
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