Automated translation from python to JS in the context of psychoPy

Hi all,

Don’t know if this has been answered before. Couldn’t find a post for it anyway.

I have three experiments with lots of code chunks that need to run online. Have any of you had any luck getting a head start with a code translation procedure (e.g. https://www.infoworld.com/article/3209651/how-to-convert-python-to-javascript-and-back-again.html)?

I don’t need it to be perfect, but doing everything from scratch would be very painful. I imagine that the psychoPy specific variables and functions aren’t easy to auto-translate, but just getting a rough start, would be nice.

Cheerio,

Amir

@orig_amir, the latest release of PsychoPy has auto-translate built-in. I would recommend waiting a day or so for version 2020.1.1 to be released, as this has some bug fixes to make things run smoother.

1 Like

Sweet!!