shell32

ShellExecuteA cannot execute '.exe' in Python (with. ctypes ShellExecuteA)

ShellExecuteA cannot execute '.exe' in Python (with. ctypes ShellExecuteA) Question: I have compiled below code but cannot execute the "PPP.exe". ‘.exe’ file exists same directory with ‘.py’ file. Why cannot working(or "open") this code?? Please let me know. import ctypes ctypes.windll.shell32.ShellExecuteA(0, ‘open’, "PPP.exe", None, None, 1) Asked By: Jung-soo Lee || Source Answers: Use ShellExecuteW. …

Total answers: 1