st.text - 显示文本
使用streamlit的text
方法显示定宽文本。
方法原型
streamlit.text(body)
参数:
- body:要显示的文本,字符串
示例代码
>>> st.header('This is a header')
推荐:用 NSDT场景编辑器 快速搭建3D场景。
使用streamlit的text
方法显示定宽文本。
streamlit.text(body)
参数:
>>> st.header('This is a header')