I’m very new to Psychopy. And to Python too to be honest.
I am building an experiment that uses the name of the participant as a prime. In order to do that, I added a category in the opening dialog box (which contains informations such as “Participants” and “session”) named “name” in which the participant writes his name.
I then proceed to call this information (expInfo[‘name’]) in a routine to prime target-words with it. I’m kind of proud (yay!..) to say that it worked fine.
Anyway my real problem is that, in doing so, I automatically save the participants name, which is a violation of privacy. So here is my question :
Is there a way to use the participants name in that way and then, to suppress the participants name automatically from the output? Maybe a code line allowing me to suppress the column “name” from the .csv output before closing the experiment?
I’m sorry if this question is a little bit boring… I’ve searched but couldn’t find something similar on this website.
Any help is appreciated,
Thanks a lot!