Python Forum

Full Version: Running code online
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I teach a python class at school. Right now, my students are creating their own text-based adventure games and putting together some really cool and creative programs. They are all beginners, but the motivation of making their own games has pushed a lot of them to explore more complex structures and it has been awesome to watch them grow.

I would like a way to make their playable online so they can easily share them with friends and family. What are my options to make this happen? I know of lots of online editors, but I was hoping for something more finalized than copy-pasting their code online and then having others play it through the host server. If there is a way to do it that requires a cost (web hosting or whatever), I can probably get my school to spring for it if it isn't too outrageous.

My goal would be for them to be able to make something that looks like this.

TIA
look at project jupyter
You can do the entire lesson in jupyter, including interactive python in a format that easily posts online.
https://jupyter.org/