Until now your NorthPeak scripts printed to the terminal. A technician will not open a terminal. Streamlit turns a plain Python script into a web page with almost no new code, and re-runs the whole script every time the user touches a control. This lesson covers the widgets, the streamlit run command, and the re-run rule that explains why caching matters.
Until now your scripts printed to the terminal. A technician will not open a terminal. Streamlit gives you a page with almost no new code. You replace print with st.write. You add a selector with st.selectbox. You run the file with streamlit run instead of python.
Preview — the rest of the lesson is for enrolled readers.
Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.
Sign inNo account yet? Create oneThe first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.