Placeholders, help, and options

There are a handful of methods that allow you to create placeholders in your app, provide help using doc strings, and get and modify configuration options.

Set page title, favicon, and more

Configures the default settings of the page.

st.set_page_config(
  title="My app",
  favicon=":shark:",
)

Echo

Display some code on the app, then execute it. Useful for tutorials.

with st.echo():
  st.write('This code will be printed')

Get help

Display object’s doc string, nicely formatted.

st.help(st.write)
st.help(pd.DataFrame)

Was this page helpful?

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.