query_params = st.experimental_get_query_params() # reading the choice from the URL..
choice = int(query_params["choice"][0]) if "choice" in query_params else 0 # .. and make it the default value
Hi @rcsmit@ssap, I use a similar module loading technique as @rcsmit. Logic works fine to load/select different code modules. But there are 2 issues. (1) Page reloads each time, so flickers a lot. (2) Each page is a new instance, so session variables don’t work. I’m look into new MultiPage (don’t like the sidebar page list), or Tabs (for fast reload). If you have better luck, please share.
-AndyW