
Aug. 17, 2021
11:08 a.m.
Alan is not incorrect here (Python doesn't *natively* run in browser), but these days that's an increasingly meaningless distinction (even if we aren't there *yet*!). There are a couple of approaches to running Python in browser: * Transpilation approaches like Brython: https://brython.info/static_tutorial/en/index.html * WASM approaches like Pyodide - https://pyodide.org/en/stable/ Pyodide is *newer*, and is used by JupyterLite to run JupyterLab in the browser without a backing server. I won't add anything to Alan's other answers, as I think they fully cover it!