How to embed a Python interpreter on a website
问题 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 direction in including even a simple python interpreter in a webapp? 回答1: One option might be to use PyPy to create a sandboxed python. It would limit the external operations someone could do. Once you have that set up, your website would take the code source, send it over ajax to your webserver, and the server would run the