Hello there đź‘‹

Thanks for stopping by! We use cookies to help us understand how you interact with our website.

By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.

priority_high

Warning

You are reading the documentation for Streamlit version 1.21.0, but 1.45.0 is the latest version available.

delete

Deprecation notice

st.experimental_rerun was deprecated in version 1.27.0. Use st.rerun instead.

Rerun the script immediately.

When st.experimental_rerun() is called, the script is halted - no more statements will be run, and the script will be queued to re-run from the top.

If this function is called outside of Streamlit, it will raise an Exception.

Function signature[source]

st.experimental_rerun()

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.