def gui_open(filename):
    if(hasattr(os, "startfile")):
        os.startfile(filename)
    else:
        local.get('xdg-open', 'open')(filename)
This selects the proper gui open function. This can
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/path/utils.py/gui_open