← Back to Pytml

Pytml Demos

Runnable examples using the public Pytml runtime at https://pytml.vercel.app/pytml.js.

Calculator

A simple calculator using numbered Pytml buttons inside <py1>.

Open demo →

Counter

Small state example showing Python event handlers and DOM updates.

Open demo →

Greeting

Use browser input and Python to build a tiny interactive page.

Open demo →

Joystick

Pointer/touch joystick controls exposed to Python.

Open demo →

Packages

Install Python packages through micropip and use them in the browser.

Open demo →