How to programmatically register in the OS a program for opening a certain type of files by default, and also teach the program to understand that something is opened in it. Linux version of the question: How can I programmatically register a program in the OS to open a certain type of file by default? (Linux)

  • one
    This answer to enSO describes in detail how to do this using Windows. From Python, you can run acc. OS commands ... PS your script must be run as administrator - MaxU

0