Online Code Sandbox for Teaching Python, SQL & R
Runs in the browser, nothing to install
Teaching code usually starts with a lesson lost to installs: Python on thirty machines, admin rights, and PATH errors. A Code Sandbox runs learner code in the learner’s own browser, so a locked-down laptop, a Chromebook and a phone all behave the same way.
Learners open a link or scan a QR code and start writing — no accounts, no setup.
What you can do
Python, SQL, R and JavaScript
Python with numpy, pandas and matplotlib, SQL on a real SQLite database with results shown as tables, base R with plots, and JavaScript.
Fill in the missing lines
Write a working program, click the line numbers to remove, and learners type those lines back in. They practise one idea instead of fighting a blank page.
Test cases with partial credit
Add visible and hidden test cases. Learners see which ones pass, and work that passes some of them earns part of the marks.
Attach a dataset
Upload a CSV once and it is a file learners can read in Python and R, and a table they can query in SQL.
See learners’ code as they write
Open the live view to watch the class work, pick one learner’s code to look at closely, and put it on the projector. Learners are told when you are watching.
No installs, no accounts
Everything runs in the browser. Learners join by QR code or link, with nothing to install on a school or work machine.
Watch it in action
Frequently asked questions
Do learners need to install Python?
No. Python runs inside the learner’s browser, along with numpy, pandas and matplotlib. Nothing is installed on the machine and no admin rights are needed.
Which programming languages are supported?
Python, SQL, R and JavaScript. SQL runs against a real SQLite database and returns result tables; Python and R can draw plots.
Does it work on Chromebooks and phones?
Yes. Because the code runs in the browser, it behaves the same on a Chromebook, a locked-down laptop or a phone. The first run downloads the language runtime, which is larger for Python and R, and is cached afterwards.
Can I set an exercise rather than a blank editor?
Yes. Give learners a working program with lines removed for them to complete, add test cases to check their answer, and split a task into parts that unlock in order.
Do students need accounts?
No. Learners join with a QR code or link and enter a name. No student accounts or emails are required.
Ready to try it with your learners?
Free to use. No student accounts needed. Start in minutes.
Create your account →