I think best would be to make a course/textbook with parallel code examples for JS/PY (maybe some version with C/C++ for reference - for teachers to be easier to switch)Parallel JS-PY is also possible with some edu-environments: blockly/processing/reeborg