Hi! I have the same problem, in several cases without wx (OCX+pywin32 ; ATL+ctypes ; etc.) For terminate these "rebel" scripts, I use this code: import os pid=os.getpid() os.system("TASKKILL /F /PID "+str(pid)) @-salutations -- Michel Claveau