Python Runner Tester — WebSocket / HTTP + Turtle + Matplotlib
Server URL:
Live turtle preview (WS)
Mode:
HTTP (/run)
WebSocket (/ws/run)
Run
Stop / Close
idle
Live turtle (updates while the script runs; WebSocket only)
Python code to run
# Matplotlib sample import matplotlib.pyplot as plt x = [0,1,2,3,4,5] y = [i**2 for i in x] plt.plot(x, y, marker='o') plt.title('Quadratic example') plt.xlabel('x') plt.ylabel('x squared') plt.show()
Initial stdin (optional)
If you paste multiple lines, they will be sent as-is (we append newline if needed).
Load Interactive
Load Turtle
Load Matplotlib
Clear Console
Send input line
(newline auto appended)
Send input
Close stdin (EOF)
Console output