Key_resp python syntax error

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2020.2.6
Standard Standalone? (y/n) If not then what?: y

Just a strange quirk I encountered where a syntax error is thrown in ‘allowed keys’, see picture below

Try adding a comma afterwards-- i.e.
‘e’,

– do you still get the error?

1 Like

I also solved this with comma or just adding the second key without comma after