You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pytml acts as a bridge between Python and HTML using WebAssembly (via Pyodide). It lets you embed Python code directly in your web pages with zero configuration.
Key Features
Zero Configuration – Just add one script tag
Real I/O – print() and input() work live in the browser
Full Error Handling – See tracebacks like a local REPL
Package Support – Use NumPy, Pandas, Matplotlib via micropip
Privacy First – No code ever leaves your browser
Mobile Friendly – Works on phones and tablets
Quick Example
<!DOCTYPE html><html><head><scriptsrc="https://pytml/vercel.app/pytml.js"></script></head><body><py>
print("Hello, world!")
name = input("What's your name? ")
print(f"Nice to meet you, {name}!")
</py></body></html>