mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
21 lines
619 B
HTML
21 lines
619 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
<title>python</title>
|
|
<link rel="stylesheet" href="style.css" />
|
|
<script type="module" src="../min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="pyodide" async>
|
|
from js import document, fetch
|
|
|
|
response = await fetch("async.html")
|
|
document.body.appendChild(
|
|
document.createElement('pre')
|
|
).textContent = await response.text()
|
|
</script>
|
|
</body>
|
|
</html>
|