Skip to content
← Back to Community
Hide console Tkinter
Profile icon
WikingGaffa

I know I can use ?outputonly=1 to make an url that only shows the console. But if I do this in a tkinter repl, I get the console and the output(tkinter window). Is there an url to only show the output (tkinter) window?

Voters
Profile icon
NathanRamanatha
Profile icon
Stilt
Profile icon
yttinalee
Profile icon
protosimulation
Profile icon
Aray0324
Profile icon
WikingGaffa
Comments
hotnewtop
Profile icon
PYer

Here if you read my previous comment, it says that there is no way. Well if you simply use the url in the white window, you can access it. (At least this is possible with flask.) If you look at the window, look slightly above and there will be a url. copy and paste that, then do whatever you were planning on doing with that link instead of the repl link

Profile icon
PYer

I don't know exactly what you are saying, but I don't think you can do it. I think if you have the repl you would have to manually shrink the console. Are you trying to embed this into a site?

Profile icon
WikingGaffa

@PYer thanks for reply.
When I have an url like: https://repl.it/@WikingGaffa/tkinter-test?outputonly=1 I get the console and the gui window.
I could also get an url directly to a python console, (ends with .repl.run) I use that sometimes when people need to use my scripts but don't need to see the code.
But now with posibility of making tkinter gui and other I want to get an url that only shows the tkinter gui window and hides the rest.

Profile icon
PYer

@WikingGaffa can you send me a screenshot of your repl window?

Profile icon
WikingGaffa

@PYer Sorry I just edited my comment above with a link

Profile icon
PYer

@WikingGaffa Yeah. Sorry, i have no idea. Maybe somebody else can help you?