I'm trying to figure out how to open Pd files with a Python script. I am trying to figure this out to run Pd on a Raspberry Pi 3 and use an LCD screen to navigate to the file I want to open. I also want to be able to close one patch and open another when I am done, so only one patch open at a time. I noticed that on a Pi when you close a Pd file the program quits, so you have to launch Pd again everytime you open a new file, is there a way around this too? so that I can switch files without closing Pd?
It seems like I've seen lots of pure data headless Pi projects with LCD screens, but can find much about how to go about it.
Thank you and any advice is appreciated.