If this template helps then use it. If not then just delete and start from scratch.
Standalone PsychoPy version e.g. 1.90.1
I have an experiment that I build on psychopy it works very well. However when the experiment ends, it does not close the psychopy full screen window. If I press esc psychopy gives an error and windows alert come up (psychopy has stopped working - close or wait for respond…)
What can I do in this situation?