v3.11.0rc2
Unofficial, experimental WebAssembly builds for Python 3.11.0rc2
See availability notes and WASM README.md for platform limitations.
Python-3.11.0rc2-wasm32-emscripten-3.1.21-browser.zip
Python in the browser.
The files must be served from a web server. You can use the ./wasm_webserver.py
script to run a local web server and access the browser REPL from http://localhost:8000/python.html
The *browser-debug.zip
is a debug build with additional debug symbols and fewer optimizations.
Python-3.11.0rc2-wasm32-emscripten-3.1.21-node-dl.zip
Python on NodeJS (dynamic linking enabled).
Run with:
node python.js
For older NodeJS you may have to use
node --experimental-wasm-bigint python.js
The *node-dl-debug.zip
is a debug build with additional debug symbols and fewer optimizations.
Python-3.11.0rc2-wasm32-emscripten-3.1.21-node-pthreads.zip
Python on NodeJS (pthread emulation enabled).
For older NodeJS you may have to use
node --experimental-wasm-bigint --experimental-wasm-threads --experimental-wasm-bulk-memory python.js
Python-3.11.0rc2-wasm32-wasi-16.zip
Python on WASI (WebAssembly System Interface).
wasmtime run --dir . -- python.wasm
Needs a recent version of wasmtime.