...

/

Display Text with Streamlit

Display Text with Streamlit

Learn to display different types of text with Streamlit.

The title

This is the first item of text our application will have. It’ll be displayed at the top of the application. We use the st.title() method to display it:

Press + to interact
import streamlit as st
st.title("Exploring Streamlit")

Every time a change is made in the code, the Streamlit application asks if it needs to be run again. To avoid always having to click the “Rerun” button (shown in the image below), we select the “Always rerun” button so the application will rerun automatically after we make changes ...