<aside> 💡
No HTML. No CSS. No JavaScript. Just Python.
</aside>
Streamlit turns a Python script into an interactive app.
You write Python. Streamlit renders the interface in the browser.
uv add streamlit
import streamlit as st
st.title("Hello World")
streamlit run main.py
Browser opens. Your app is live.
Use titles, headers, and text to display information.
st.title("Student Dashboard")
st.header("Python Course")
st.write("Welcome to Streamlit!")
| Task | Code |
|---|---|
| Big title | st.title("text") |
| Section header | st.header("text") |
| General text | st.write("text") |