How to embed a Python interpreter on a website

前端 未结 4 910
夕颜
夕颜 2020-12-24 00:23

I am attempting to build an educational coding site, similar to Codecademy, but I am frankly at a loss as to what steps should be taken. Could I be pointed in the right dire

4条回答
  •  醉酒成梦
    2020-12-24 01:06

    Look into LXC Containers. They have a pretty cool api that you can use to create lightweight linux containers. You could run the subprocess commands inside that container that way the end user could not mess with your main server.

提交回复
热议问题