I'm coding on an old windows laptop i write the code and double click the icon. it runs the program and writes results to a window. when the code finishes, the window closes, i do a time.sleep(10) to see what has happened. unfortunately when there is an error it just closes the window. anyway of seeing the error messages? thanks a