Skip to content
How to embed without code, output full screen, with repl.it?
Profile icon
ExploreGamesGam

Hi everyone, I have just started learning coding (Python, HTML, CSS).

For my current project I needed to design a website, and I chose to make a site which combined all the different games made in the first project (with Python), and made them playable on the site.

I started with Trinket, but I found the code (when embedded) would stop working after 3 or 4 inputs (I think it is because code is too long, but I am checking with their help service)

I have switched to using repl.it , and embedding with this works, but I would prefer to display just the output in full screen without the code (like I was able to in Trinket). Does anyone know how I can do that?

I did try doing it myself using Flask, Django, Web2py etc., but I'm afraid I am just not capable of doing that yet. :(

Many thanks.

You are viewing a single comment. View All
Profile icon
Coder100

for a repl like:

https://repl.it/@Coder100/Coder100

you can embed it:

https://repl.it/@Coder100/Coder100?outputonly=1&lite=true

do note this only applies when you open it up in the browser.

In general:

https://repl.it/@<username>/<repl-name>?outputonly=1&lite=true

Read more about repl.run's removal

Profile icon
ExploreGamesGam

Thank you to everyone who replied - special thanks to @Coder100 for the advice about "outputonly". Unfortunately when I alter my link to include this, it cuts out the bottom 2 lines of the output. You can see the top of the text, but you can't scroll down to see. Is there any way to rectify this?
Edit - I found there is, just by adjusting height value. Got things exactly how I want them now, so thanks :D

Profile icon
Adityavk1

Okay so I might be late but The question I have is that once I embed and run it, It doesn't show the output window and instead it goest to the console by default. I wanna show this of to my friends who arent particularly well versed in programming so can we do something about it? Or is it just as it is?
Also, Im using Tkinter for [email protected]