This website allows you to execute any Python code on a customised version of Pyodide running
on Cloudflare Workers. It is a proof of concept for running Python on Workers using WASM.
from PIL import Image
img = Image.new(mode="RGB", size=(800, 600), color=(231, 136, 59))
img.save("/result.png") # editor will try to open image saved in /result.png