Does anyone know if flask redirect is able to open a link / URL in a new tab?
@app.route(\'/test\') def my_page(): return redirect(\'http://mylink.com\',
You could also use Python's webbrowser module to open a page, if you'd like to avoid getting into the HTML
import webbrowser @app.route('/test') def my_page(): return webbrowser.open_new_tab('http://mylink.com')