0

I tried some ways but I cannot figure out a way if we can take input (Python Code) in browser (JS) and run the code and return the output online without creating an online compiler? I tried hitting some online interpreters urls with the code but it does not work.

I was wondering if I take input and can run it in my personal IDE/Editor and return the output online.

Is there any way or tool to make this possible?

Innomight
  • 556
  • 3
  • 15
  • 2
    sure just save it as a file and run it with `python input.py > output.txt` and then just read in output.txt ... of coarse a bad actor could do bad things to your computer – Joran Beasley Apr 12 '22 at 03:06
  • What do you need it for? – CoderPerson Apr 12 '22 at 03:09
  • @CoderPerson I need to make an online time complexity calculator. I have made it in python using multiple inputs and making a graph and showing time complexity of the function but I need to do it in browser and host it on my website for my major project presentation. – Innomight Apr 12 '22 at 04:10

0 Answers0