Skip to content
← Back to Community
How to get rid of "run to see output"
Profile icon
AhmadWajid1

I'm wondering if there is a way to close the following console in python. I want to run flask and selenium at the same time but when this console with the message "run to see output" shows up, it blocks the flask.

image

Voters
Profile icon
AhmadWajid1
Comments
hotnewtop
Profile icon
Tycho112

I have the same problem. I can only see the website but not my selenium output. this is very annoying because I'm getting errors because selenium can't take screenshots with width 0 :(

Profile icon
Coder100

Nope. You can't. That's the default text for the display. It's kind of like the run your repl for websites:

image

Profile icon
Hedgehawk11
Profile icon
Coder100
Profile icon
Hedgehawk11
Profile icon
programmeruser

If you're using selenium, it shows that since the web browser will open in that window.

Profile icon
MocaCDeveloper

That's odd..make sure you don't have any other sort of program running. Make sure you are running just the Flask application.

That screen usually comes up when you use something like tkinter or when you write something in Pygame.

Odd. Might want to report to bugs.

Profile icon
RYANTADIPARTHI

I comes part with it. there is no other way to do it. it's default.

Profile icon
MocaCDeveloper

@RYANTADIPARTHI

That screen doesn't usually show up when running a Flask application though..

Profile icon
RYANTADIPARTHI

@MocaCDeveloper yeah, i meant when opening the window, it comes up. pygame, tkinter.

Profile icon
MocaCDeveloper

@RYANTADIPARTHI

But he's making a Flask application with selenium..there should be nothing that causes that screen. If anything, there should just be a plain white screen that is the Flask template running..

Profile icon
RYANTADIPARTHI

@MocaCDeveloper oh, then that shouldn't be there.

Profile icon
bottlesandcaps

umm i dont think it comes down i think its part of te website

Profile icon
AhmadWajid1

@bottlesandcaps oh will that sucks :\

Profile icon
bottlesandcaps

@AhmadWajid1 yeah ik

Profile icon
MocaCDeveloper

@bottlesandcaps

That screen is only if you're writing a tkinter application or a game in Python/Pygame. That screen isn't usually there when it comes down to writing Flask applications which is why it is strange.

@AhmadWajid1 perhaps you made a Pygame repl?