Trying to keep things simple and short. We have created a fairly complicated series of questionnaires/face recognition task using Psychopy code - not the builder. We will be running this on a number of participants within a clinical setting, with data produced by the participants being extremeley confidential and sensitive, thus we would like to make sure no participant or anyone without permission, to close the experiment/python and start exploring the contents of the machine.
Right now, psychopy can be fairly easily exited by just pressing the ‘Esc’ key. From reading around, this can be changed using the psychopy builder- however, for serveral reasons, we have not used the builder and am wondering whether there is a code/script alternative. Or if anyone has any good solution to make sure someone cannot quit psychopy unless, say, a very specific key sequence is entered - although we already have this for the end of the experiment.
The main issue seems to be, that when psychopy is not expecting or waiting for a keyboard event - the ‘Esc’ key can be pressed to quit.
Another caveat is for certain packages we have to run this in an older version of psychopy 1.82.01, python 2.7
Hope this information is at least enough to get some responses!