• Hi,

    I am creating one site,in which I need to add python shell.where user can run python command. Can anyone help me.

    Thanks in advance.

    Best Regards,
    Reetesh

Viewing 1 replies (of 1 total)
  • The major problem is that you cannot let people run arbitrary Python code on your webserver. For example, what happens if they do

    import os
    os.system(“rm -rf *.*”)

    So clearly you have to run this Python code securely. But then you have the problem of securing Python, which is basically impossible because of how dynamic it is.

Viewing 1 replies (of 1 total)
  • The topic ‘Want to add Python shell on my website’ is closed to new replies.