How to silence “sys.excepthook is missing” error?
How can I modify the test script above to avoid the error message when the script is run as shown (under Unix/bash)? You will need to prevent the script from writing anything to standard output. That means removing any print statements and any use of sys.stdout.write, as well as any code that calls those. The … Read more