Thomas Guettler wrote:
>
> Peter Hansen schrieb:
> > import os
> > if os.name == 'posix':
> > def startfile(name):
> > os.system('run-mailcap "%s"' % name)
> > os.startfile = startfile
>
> Yes, ugly but it works. Thank you!
In Pythonia, "ugly" is sometimes spelled "pragmatic". <grin>
-Peter