Running files with the associated program...

E-Lo BeshrKayali at gmail.com
Wed Feb 6 05:52:21 EST 2008


On Feb 6, 6:09 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> En Tue, 05 Feb 2008 22:34:59 -0200, E-Lo <BeshrKay... at gmail.com> 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 or 'open', this acts like double-clicking
> the file in Windows Explorer, or giving the file name as an argument to
> the start command from the interactive command shell: the file is opened
> with whatever application (if any) its extension is associated.
>
> --
> Gabriel Genellina

thanks, it worked :)



More information about the Python-list mailing list