Embed Python in HTML
h
btfuss

Yeah yeah yeah I know this question is everywhere on the internet but can you use a replit program and embed it into a site?

You are viewing a single comment. View All
Answered by ruiwenge2 [earned 5 cycles]
View Answer
ruiwenge2

you mean use python in html?

btfuss

@ruiwenge2 No. You know the python interpreter replit provides? Yeah I'm only trying to get the output of that in html. See, replit provides this but in the embed it also has a shell and run button and a ton of other stuff which is unnecessary. All i need is the python program displayed itself

xxpertHacker

@btfuss Wait, like, just the source code?

Like a code block, in HTML?

btfuss

@xxpertHacker https://replit.com/site/careers At the bottom of this page, you see the terminal? Something like that.

xxpertHacker

@btfuss This used to be possible via {username}.{replname}.repl.run URLs. They were removed some time ago.

btfuss
xxpertHacker

@btfuss Never linked you to it, but here's some info on them: https://blog.replit.com/anon