run-mailcap in python?

Thomas Guettler zopestoller at thomas-guettler.de
Tue Sep 10 05:08:58 EDT 2002


Thomas Guettler schrieb:
> Hi!
> 
> On Unix there is a script called run-mailcap, which
> opens the corresponding programm with the given file:
> 
> run-mailcap foo.html
> --> Default browser starts

[cut]

> run("foo.html")
>  --> Browser starts

I just discoverd os.startfile(), but it is unfortunately
only available on win32.

A Unix version would be nice.

  thomas




More information about the Python-list mailing list