Construct supports JavaScript, typescript and events. No other languages are supported beyond that.
You’d need to add support yourself or get someone else to do that. In theory you could compile the python interpreter into wasm to use via JavaScript, then add some kind of layer to call things from construct’s js api with python. But even doing all that would result in limits with what you can do. Aka you wouldn’t be able to run arbitrary python since within the web browser there are limits on things you can do or access. Generally working with supported languages are the easier way to go.
On the bright side any programming concepts you learn often transfer to other programming languages. Or you can go down the python rabbit trail.
Oh, okay. I don't really know that much about coding and that sort of stuff to add support myself, but I could do more research and maybe eventually I could. Thanks!