Set WshShell = CreateObject("WScript.Shell") WshShell.Run "pythonw main.py", 0, False Set WshShell = Nothing