How do I execute a program from Python? os.system fails due to spaces in path I have a Python script that needs to execute an external program, but for some reason fails. If I have the following script: import os; os.system("C:\\Temp\\a b c\\Notepad.exe"); raw_input();... May 17, 2022 0 Comments