How to create my own online python interpreter to my website? | SoloLearn: Learn to code for FREE!

+2

How to create my own online python interpreter to my website?

I was already searched in google for many hours. But I didn't get answer for this. How to create my own online interpreter to c,c++,python to my website like sololearn codeplayground.

9/23/2020 2:26:50 PM

Mohan 333

8 Answers

New Answer

+5

Mohan 333 people don't create it, they install it on their server and do what I said above. you only need to buy a server that supports python then install python on it. The other way is to use some random API https://code.sololearn.com/W5Vhs7nGsExd/?ref=app

+3

I don't know because it's outside of my area of interest.

+2

first thing would be to complete the c-, c++-, python-, html-, css-, javascript- and php-courses. and that's not even enough.

+2

Who writes a separate interpreter for their website? You just need to install python and it's interpreter on your server. Accept input as raw text from your website, interpret it with the already installed interpreter on your server and send the result back to the frontend.

+1

You need to make a server everything on code playground website is sent to SL's server executed there and sent on the website you also need a seperate computer to use as server.

0

Jan Markus ok. But how?

0

You do not need to install. Search google for online interpreters and embed it on page. That is simple, and can work on free hosting.

0

this is called reinventing the wheel and it is not a good idea