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-sta... 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, <redradist@gmail.com> 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/XV7U4O... Code of Conduct: http://python.org/psf/codeofconduct/