Programmatically Send User to a Web Page with No Click

Answering my own question. I like Streamlit, so assumed the solution was in Streamit instead of looking elsewhere.

The solution is to use webbrowser as in:

import webbrowser
webbrowser.open_new_tab(target_url)

Documentation is available here: webbrowser — Convenient web-browser controller — Python 3.10.2 documentation

Sorry for the foolishness.

5 Likes