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

Chris Angelico rosuav at gmail.com
Tue Dec 12 10:30:59 EST 2017


On Wed, Dec 13, 2017 at 12:54 AM, Rick Johnson
<rantingrickjohnson at gmail.com> wrote:
> Chris Angelico wrote:
>
> [...]
>
>> > Yeah… magic… in the category of mind-reading? sooth-
>> > saying?
>>
>> Which is why OS/2, back in the 1990s, had *multiple*
>> associations for any given file. You could use file types
>> (sadly not MIME types - this was before MIME was the one
>> obvious standard to use) to identify *any number* of
>> programs that are likely to be used with a file, and then
>> one of them is the global default. For any specific file,
>> you can change which program is its own default, and even
>> add specific associations for that individual file. When
>> you double-click, you get the default; if you right-click
>> and choose "Open", you could pick from the associated
>> programs. A good system, and one that I still haven't seen
>> replicated in a mainstream OS.
>
> Windows has the same features.

It does? Show me how to specify that one file - which might have the
exact same name as many similar files - should be associated with a
different program than the one its name would normally suggest. Show
me how to identify multiple file types for a given file, independently
of its filename.

ChrisA



More information about the Python-list mailing list