Hi how do I disable the error (failed to execute script) when i run a exe process created with pyintaller ? without fix the script , because the script works well
"failed to execute script" says that your python program terminates with non-zero exit code by exception. Try this:
import sys
def my_except_hook(exctype, value, traceback):
sys.exit(0)
return
sys.excepthook = my_except_hook
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With