Ctrl + Enter runs.
Shell
Python is loading. The first time takes a few seconds.

How it works

  • Python runs inside your browser. Your code never leaves your computer, and nothing is saved. Use Save .py to keep a program (in Chrome or Edge you can pick your OneDrive folder), or Copy link to send it to someone.
  • Every Run starts fresh, like pressing Run in Thonny: variables from the last run are gone.
  • A program that runs longer than 5 seconds is stopped, so a loop that never ends can't freeze the page.
  • An error names its line number. Click it to jump to that line.

Different from Thonny

  • input() can't pause and wait while the program runs here. Type the answers in the Input box first, one line per input(). They appear in the Shell the way they would in Thonny.
  • Windows and graphics, like turtle and tkinter, need Thonny.
  • Most of the standard library works: random, math, datetime, csv, and more. Files you write with open() exist until you reload the page.
  • Installing packages with pip is not available here.