Thre are already projects that build Python using Web Assembly - But as far as I know, these do not have a good interface with the document DOM.
https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scientific-python-stack-to-the-browser/ Maybe you'd like to take a look at Brython instead - it is a compliant Python implementatoin that transpiles Python to javascript on the client side - TL;DR: you get to write <script language="text/python>...</...>, inside your HTML - https://brython.info On Mon, 15 Jun 2020 at 17:47, <[email protected]> wrote: > > Hi all, > > I love Python, but as soon as I need to do something in browser I have to use > ugly JavaScript !! > > Is there any future plans support for compiling CPython to WebAssembly using > Emscripten ? > _______________________________________________ > Python-ideas mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/XV7U4OHKLRJ5TC3LZUBKAHVKSWTDZOTV/ > Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/53KJ7WIERI5BJG23RL4WQF2XY5Y2URWA/ Code of Conduct: http://python.org/psf/codeofconduct/
