Online Python Compiler
Write and run python in your browser. Tabs autosave locally.
Terminal
Common code snippets
Algorithms
FAQ
How do I rename a tab?
Double-click the tab you want to rename and type a new name. Press Enter or click away to save; press Escape to cancel.
Is my code saved?
Yes. Tabs autosave in this browser only, not on a server or other devices. Clearing this site's data, using a private or incognito window, or switching browsers can erase them. Copy anything you need into a file on your computer as a backup.
How do I increase or decrease font size?
Click the settings (gear) icon in the top-right. Next to Editor font and Terminal font, use minus to decrease and plus to increase. Each can be set independently.
How many tabs are allowed?
You can have up to 10 tabs per language.
How do I switch between batch and interactive mode?
Click the settings (gear) icon in the top-right. Under Input mode, choose Interactive or Batch (stdin box). Interactive uses a live terminal so you type while the program runs. Batch shows a stdin box for all input before Run.
How do I enable the Vim editor?
Turn on the Vim editor switch in the top-right. The editor then uses Vim keybindings.