Python Sandbox in Python

Hello,

I want to make A website (In Flask) like replit that is used for running python, How can i run Python safe and sandbox it’s terminal in a Flask App?

1 Like

Take a look at codejail: GitHub - openedx/codejail: Secure code execution, I think it is the best one for python

1 Like

I would use pyscript, when you use the CSS, there’s a “terminal” that pops up on your webpage. In fact, I have been thinking about making this exact thing for a while! Wanna collab?

1 Like