4 ms·
Brython seems to be a Python => JS translator, rather than an in-browser Python implementation. Similar end result, but works in a completely different way. ht
by pansa2 2y ago
Brython seems to be a Python => JS translator, rather than an in-browser Python implementation. Similar end result, but works in a completely different way.
https://yasoob.me/2019/05/22/running-python-in-the-browser/ https://yasoob.me/2019/05/22/running-python-in-the-browser/
- miohtama 2y agoAFAIK Brython cannot translate some of popular Python libraries. Python libraries, esp. Data science ones, are often the reason why developers pick Python.
- nmstoker 2y agoYes, this is an advantage of Pyodide, and thus PyScript too, they have a fair number of packages that work directly: https://pyodide.org/en/stable/usage/packages-in-pyodide.html https://pyodide.org/en/stable/usage/packages-in-pyodide.html