Everything here runs entirely in your own browser — Python is executed locally via WebAssembly, and nothing you write or run is ever uploaded to or executed on a server.
Share links work the same way: the code is packed into the link itself (after the #), which browsers never send to the server. So a shared link doesn't put anything on our infrastructure — but it does mean a link can carry any program. Please don't run code from a shared link you don't trust: while your tab is open, that code can still change what's on this page.
Because Python runs on this same tab, a program with an infinite loop (or a very long time.sleep) will freeze the page completely — there's currently no way to stop it from here. If that happens, reload the tab to recover.
Source, licence, and details of how this was built: github.com/milesberry/pyde.
open(filename))Drag lines from the tray into the answer area, in the order you think they run.