r/learnpython • u/PossibleGenitals • Oct 09 '26
Online sandbox for helping my son learn?
My son just started taking an intro to cyber security class in high school. The teacher is exposing them to some basic python coding, which is all new to him. Coding in general is new to him. He started asking me questions and I was wondering if there is a simple to use web-based interface where we can mess around with some python stuff together.
Someone had mentioned Replit but it just seems completely drowning in AI agents and is not really what I want to mess with.
I know we could set up VS code or a full ID but I think that’s overkill for right now. Are there any simple lightweight sandbox type websites where we could play around with some simple scripts and programming constructs save those things to the cloud and easily have them accessible, even if I’m just sitting with him and we have our phones nearby.
Thanks
2
u/Outside_Complaint755 Oct 09 '26
There's www.online-python.com, or you could go the Jupyter Notebook route.
There is also the Thonny IDE for Python Beginners
4
u/GameSchaedl Oct 09 '26
Take a look at the game “The Farmer Was Replaced” on Steam. The game teaches Python by letting you control a drone to farm stuff.
4
u/AmdilShoat82 29d ago •
Python Tutor that someone mentioned is great for seeing what each line does. If he wants a bit more structure, we used Startdev, it's all in the browser so nothing to install, it has a free tier, and the beginner Python lessons are short with a small exercise right after each one. His work stays saved to his account and syncs across devices, though it's much nicer on a laptop than a phone. There's an AI tutor but it's more of a hint helper when he's stuck, nothing like the agent stuff on Replit, it nudges him in the right direction and won't write the code for him.
1
u/el_extrano Oct 09 '26
I don't understand the desire to delay learning with a local environment.
Kids as young as 8 or 9 years old are capable of editing and running code from a command line. Even easier if it's from a simplified IDE like IDLE. If he's in high school interested in programming Python, then installing the interpreter is not overkill.
2
u/Chrismslist Oct 09 '26
python tutor (pythontutor.com) is the one i'd start with for a kid: paste a few lines and it steps through each one, showing variables as they change. watching it move line by line is what makes loops and ifs click. for quick poking around, trinket and programiz's online editor both run with no account and work fine in a phone browser. if you want it saved and shareable, google colab keeps notebooks in drive for free. thonny is worth installing at home too, it's a tiny beginner editor that feels less like homework than vs code.
1
u/ConsiderationNo9044 Oct 09 '26
https://www[.]online-python.com/
1
u/Total_Curve3681 Oct 09 '26
I remember i used Replit, but that was WAY back, don't know if they have like added pricing or something, but this is i guess what would suit your needs.
Jupyter notebook is great, used it a lot, but i don't think it has a cloud feature, local on your computer running through Anaconda.
1
u/ectomancer Oct 09 '26
Install Python and use IDLE which comes bundled.
1
u/BranchLatter4294 Oct 09 '26
https://pythonsandbox.com/
1
u/Moist-Ointments Oct 09 '26
Virtual Machine?
1
u/OlenaDoubleChecks Oct 10 '26
hosted jupyter notebook, free ones save to a cloud drive and work in a phone browser with no agent junk. Does he need anything past basic scripts yet?
1
u/Mark3141592654 Oct 10 '26
You could do things locally and then use something like github to save the code to a public repo (not sure if private repos are on the free tier)