draw Shared Python drawing
Make a copy in the editor → Open draw
draw Python → SVG
Learn Python
Loading Python…
Free, in-browser Python

Draw with Python. Learn as you go.

Write real Python that paints an SVG canvas, explore the drawing API, or follow a beginner-friendly tutorial that starts with a blank canvas and builds a planet scene one small step at a time.

Start the Learn Python tutorial → 22 short steps · no install · runs in your browser Gallery·Blog
main.py
Project Untitled not saved
Output
Ready. Ctrl+Enter runs the script.
canvas.svg
x: — · y: —
0 shapes
Colour #38bdf8 Cursor not on a hex colour
API
Made with draw