Python Forum
Running code online - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Running code online (/thread-30633.html)



Running code online - aqua_ed - Oct-29-2020

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


RE: Running code online - Larz60+ - Oct-29-2020

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/