import streamlit as st text = st.text_area("Enter text here") if text: print("Hello world")