Please tell me how to execute python file in Ubuntu by double

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Dec 15 17:44:44 EST 2017


Steve D'Aprano wrote:

> They are still supported (-ish) by OS X, but have been superseded by Uniform
> Type Identifiers.
> 
> https://en.wikipedia.org/wiki/Uniform_Type_Identifier

I know, what I'm not sure about is how much those are used
by apps these days, with so much of the widely used software
being multi-platform.

The Finder doesn't make it easy to tell -- it just shows
you which app is the default one for a file, without any
details as to how it's determining that.

And if you change the default app for a file, it asks
"Do you want to open all file like this with <whatever>?",
but it's not very clear what "like" means for a given file.
It could mean "having the same suffix", "having the same
UTI", or "having the same legacy type code".

-- 
Greg



More information about the Python-list mailing list