What Is Pyodide?
Pyodide is a port of CPython compiled to WebAssembly. It runs entirely in the browser โ no server, no install. PyForm uses Pyodide to execute your code.
What Works
- Full Python syntax, standard library.
- Most pure-Python packages via
micropip. - NumPy, pandas, matplotlib โ yes, in the browser.
What Doesn't Work
- Direct access to local files outside the sandbox.
- Some C extensions that don't ship as WASM builds.
- Networking โ use fetch from JS, not Python sockets.
Performance
Roughly 3-5ร slower than native CPython. Acceptable for learning and data demos; not ideal for heavy numerical jobs.
Why It Matters for Students
- Zero setup โ share a link, run code.
- Works on Chromebooks and iPads.
- Your code stays private โ it never leaves the browser.
Practise this on PyForm โ free
PyForm runs Python in your browser with an AI tutor trained for HKDSE. No install, no credit card.
Open PyForm โ