back

by theanonymousone·2y ago·view on hn ↗
It may be a stupid question, but is there already some DOM access or a dedicated package that allows writing web applications in this compiled python?
1 comments
Yes. Here is an example how to integrate Python to React front end

https://blog.pyodide.org/posts/react-in-python-with-pyodide/

Similar examples for raw DOM manipulation should be available for Pyodide as well. It has bindings to all JS code, so it can do everything that JS can do.

Thanks. I know about the one for Pyodide. Is it confirmed that it works for this new py2wasm compiler?