pythoncom.CoInitialize() shell = win32com.client.Dispatch('WScript.Shell') shell.Run(command, 1, False) pythoncom.CoUninitialize()