Ask coding questions

← Back to all posts
Hide console Tkinter
WikingGaffa (79)

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?

Comments
hotnewtop
PYer (4017)

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

PYer (4017)

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?

WikingGaffa (79)

@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.

PYer (4017)

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

WikingGaffa (79)

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

PYer (4017)

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