I hope Ashley read this post because...
Why you removed and replaced python with Javascript???
PLEASE ADD PYTHON!!!
What are you talking about? C2 has never incorporated python, and as it's pure Javascript, how can it?
If you use the search function, you will see that others have previously asked similar questions regarding python.
It's perhaps feasible that a plugin could be created but I hardly see the point. It would be a niche request IMO.
Here is just one response from Kyatric that may help: https://www.scirra.com/forum/how-do-i-use-span-class-posthilit-python-span-code_p787130?#p787130
Construct Classic used to be able to run embedded Python scripts, I think you're confusing the two progs...
Yeah, and since Python doesn't run in a browser, there's not much choice!
You might try to wrap an existed "python vm in javascript implement" like this into C2 plugin.
But it does not mean that designer could run python code without C2 event sheet.
Develop games in your browser. Powerful, performant & highly capable.
You can have a server running python.