How to embed python compiler in personal blog using open source | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to embed python compiler in personal blog using open source

Am totally beginner, kindly suggest in detail

15th May 2019, 1:22 PM
ಸುpppy
ಸುpppy - avatar
3 Answers
+ 2
You want to embed a terminal screen inside of a webpage? That'd be hard, instead, I would run an instance of python provided the code and display the output of it as HTML. Make sure you completely trust the code you're running though, as anyone who can change it can essentially make changes on your computer without your knowledge. I'd reccomend not embedding any sort of language inside of a webpage, unless you know what you're doing.
15th May 2019, 10:30 PM
inxanedev!
inxanedev! - avatar
+ 2
i believe this is what you call a web API. a web API is is a framework that you can use by companies into your website. think of having a small google maps window inside your web. you're using google maps API. if you wanted to put a python compiler window inside the web. then you should find a web API that can do just that.
16th May 2019, 1:55 AM
Shen Bapiro
Shen Bapiro - avatar
21st Jul 2020, 3:08 AM
shubham kumar
shubham kumar - avatar