Looking for a streamlit module function call that does the same as `streamlit run page.py` shell command

Greetings,

I learned that I need to use the following streamlit cli command in a shell terminal to be able to see may page in a browser:

streamlit run my_st_page.py

or

python -m streamlit run my_st_page.py

Instead of running a shell command, how can I run the my_st_page page in my python program? What is the python module function call equivalent to streamlit run shell command above?

Thank you,

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.