Python Playground
Python runs locally in your browser.
Using Python packages
Some Python packages can be installed directly in the browser using
micropip.
Tap/Click here to expand an example.
micropip. Tap/Click here to expand an example.
import micropip
await micropip.install("humanize")
import humanize
print(humanize.intcomma(1234567))
Loading Python…
main.py
Output