Spaces:
Runtime error
Runtime error
| <html> | |
| <head> | |
| <title>Example</title> | |
| <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" /> | |
| <script defer src="https://pyscript.net/alpha/pyscript.js"></script> | |
| <py-config> | |
| - autoclose_loader: true | |
| - runtimes: | |
| - src: "https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js" | |
| name: pyodide-dev | |
| lang: python | |
| </py-config> | |
| <py-env> | |
| - opencv-python | |
| - websockets | |
| </py-env> | |
| </head> | |
| <body> | |
| <p>This is an example of a simple HTML page with one paragraph.</p> | |
| </body> | |
| <py-script> | |
| print(“This is Python!”) | |
| </py-script> | |
| <script> | |
| console.log("This is JavaScript!") | |
| </script> | |
| </html> | |