Hi,
Python coder tasks cannot run on Pavlovia, which uses PsychoJS, not PsychoPy. Here are some of my relevant tips.