The OS module on Windows or MacOS has the following;
os.system("start APPLICATION.EXTENSION filename")
Will open filename (I mean actually open rather than python open, as if you did Right mouse>open) if its in the same folder as the python file on windows. The MacOS version is;
os.system("open filename")
What I'm asking for is the linux equivalent. If you know of a different module or method I'm open to anything.
All I've been able to find online is the usual
file = filepath
open(file)
read(file)
And these are absolutely not what I want to achieve. Any and all help is much appreciated, you might be able to tell this issue is getting to me.