2

I want to write a web page that allows the user to upload a set of python files and then it shows the file contents based on the selected file and allows the user to then run the file and see the output/interact with any prompts.

I am looking for recommendations on language, libraries and/or frameworks to consider for this project. It will only be used by my programming professor for now so it doesn't have to be perfect, I'm just trying to save him from opening and running each file separately for his intro course.

This is an idea of what I'm wanting to create.

  • I came across this, but I haven't tried it yet. It's not exactly what you want, but it might be helpful to you: github.com/bitagoras/PyPadPlusPlus – RockPaperLizard Jan 22 at 23:33
  • There's a ton of different frameworks you could use. Tkinter might work, since it's written for python and you can just use exec or import to run the code. – Pikachu the Parenthesis Wizard Jan 23 at 21:03
  • Thanks pizza! I didnt know Tkinter had that so I'll look at using that! – Matt Jan 23 at 22:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.