The main feature of the package is opening a file with the default application determined by the OS:
import DefaultApplication DefaultApplication.open("/tmp/someimage.png")
should open a file in your default image viewer, etc.
This is implemented by a rather trivial function; the purpose of this package is to have it in one place, updating it as the OS interface changes, so that package authors don’t have to worry about this.
The package also includes a
DefaultApplication.test() function, which tests the functionality and prints out debugging information.