I want to create a box for a website where you can put integers or a float in html using py-script.
I tried using tkinter but it is removed from the Python standard library in the Pyodide distribution due to browser limitations.
import contextlib
with contextlib.suppress(ImportError):
from pyscript import window
input = window.prompt
ints_or_floats = input("Please enter some ints or floats.")
<input>. Everything in PyScript is just a layer above the web browser DOM.