Python Lab
Write Python, run scripts and try commands in the terminal. Your code stays in this browser.
Terminal / output
For multiline code, use the script editor. Enter print(x) to inspect a variable.
Tab inserts four spaces. Shift+Tab moves focus out of the editor. Ctrl+Enter runs or refreshes. Work is autosaved in this browser when storage is available. Use Save to keep a file.
About Python Lab
Write Python, run scripts and try commands in the terminal. Your code stays in this browser.
Supports school Python basics, input(), functions, lists, dictionaries, random and math. Run starts a fresh script; terminal commands retain variables. Stop and Restart reset Python memory. Programs have a 10-second execution limit and output is capped. Saving downloads the script; it does not overwrite your original file. This Skulpt environment does not support writing data files, desktop apps or all modern Python syntax. Skulpt is freely licensed.