Movatterモバイル変換


[0]ホーム

URL:


PyScript version: 2025.3.1

Home |Docs |Code |Changes

Files

Example

<!DOCTYPE html><html lang="en">    <head>        <meta charset="utf-8" />        <meta name="viewport" content="width=device-width,initial-scale=1" />        <title>PyScript 2025.3.1</title>        <link rel="stylesheet" href="https://pyscript.net/releases/2025.3.1/core.css" />        <script type="module" src="https://pyscript.net/releases/2025.3.1/core.js"></script>    </head>    <body>        <h1>Hello world!</h1>        <p>These are the Python interpreters in PyScript 2025.3.1:</p>        <script type="py">  <!-- Pyodide -->            from pyscript import display            import sys            display(sys.version)        </script>        <script type="mpy">  <!-- MicroPython -->            from pyscript import display            import sys            display(sys.version)        </script>    </body></html>

[8]ページ先頭

©2009-2025 Movatter.jp