Running Python in the browser

Learn how to build truly serverless applications with Python and WebAssembly. Use Python and it's powerful libraries in the browser alongside with Javscript without needing a server.

index.html
<script
src="https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js">
</script>
<script type="text/javascript">
const main = async () => {
let pyodide = await loadPyodide();
console.log(
pyodide.runPython(`print("Hello World")`)
);
}
main();
</script>