pip install streamlit
streamlit hello
将会启动一个demo


从经典的hello world开始
import streamlit as st
st.write("Hello world!")
接下来需要运行它。不同于往常的python应用直接使用python app.py ,这个需要运行
streamlit run app.py
将得到:

Use Community Cloud to develop with GitHub Codespaces - Streamlit Docs