Skip to content

Online Python Runner

Run Python in your browser with a code editor, standard input and a console. Use examples for scripts, algorithms and data processing.

Python workspace

Runs in this browser

Ready
5 lines

Run Python code with standard input online

Type a name on the first line of Standard input, add the code print(input()) in the editor, and select Run. Python reads one line at a time, so you can test a script that asks for several values. Watch the console for output and tracebacks.

Use the local module example to add another Python file and import it from the entry script. The Python interpreter and optional packages load when you run a project. Drafts stay in the current browser.

Comments

Sign in or create an account to join the discussion.

Loading comments…