I'm trying to find a way to open Audacity with python. I tried using subprocess.call but it just pulled up this: "This text file 'Audacity' seems to be an executable script. What do you want to do with it?" The options were: Execute, Execute in Terminal, Open, and the last option was Cancel. How do I make this not occur?
Here is my code:What should I try?
Here is my code:
Code:
import subprocesssubprocess.call(('xdg-open', '/home/pi/raspberrypi/.local/share/applications/audacity.desktop'))
Statistics: Posted by Henrik Gill — Sun Mar 17, 2024 5:45 pm