mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
22 lines
662 B
HTML
22 lines
662 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>PyScript Next</title>
|
|
<script>
|
|
addEventListener("py:ready", console.log);
|
|
</script>
|
|
<link rel="stylesheet" href="../../dist/core.css">
|
|
<script type="module" src="../../dist/core.js"></script>
|
|
</head>
|
|
<body>
|
|
<py-script worker terminal>
|
|
print(input("what's your name? "))
|
|
</py-script>
|
|
<mpy-script worker terminal>
|
|
print(input("what's your name? "))
|
|
</mpy-script>
|
|
</body>
|
|
</html>
|