Forums

Open a browser tab from bash console

Hej Guys,

Probably a pretty noobie question but How do I open a browser tab (or window) from PythonAnywhere's console?

I want to use the webbrowser module to open URLs I generate with my script and it works when I run it in a console on my local machine. When I run it on PythonAnywhere, it "opens" the website in the bash console which looks weird (kinda like the UI of a monochrome display) and is not what I want .

Does someone here knows how to open browser tabs/ windows from the bash console?

As far as I can think of, there's no way to do that.