Use in a `with` block to draw some code on the app, then execute it.
Function signature

st.echo(code_location="above")

Parameters

code_location ("above" or "below")

Whether to show the echoed code before or after the results of the executed code block.

Was this page helpful?

editSuggest edits
forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.