launch

How to open external programs in Python

How to open external programs in Python Question: Duplicate edit: no, i did that but it doesnt want to launch firefox. I am making a cortana/siri assistant thing, and I want it to lets say open a web browser when I say something. So I have done the if part, but I just need it …

Total answers: 4

Use Python to launch Excel file

Use Python to launch Excel file Question: when i try os.system(“open ” + ‘myfile.xlsx’) i get the output ‘0’ similarly, trying os.system(“start excel.exe myfilepath”) gives the result 32512 I have imported os and system, and I’m on mac. How can I change this so it does actually launch that excel file? And out of curiosity, …

Total answers: 7