Getting Raw python error for converted Jupyter Notebook code

I made a .py file that had a single print statement and called it test.py. Streamlit didn’t throw any errors per se when I used streamlit run test.py, and the line was printed to console. However, as expected it just generated a blank page in my browser since the print statements are only going to console and not the Streamlit page. Streamlit will render some variables and literals when they exist independently on a line, but that doesn’t apply to print statements.

The error I quoted above usually comes from trying to run streamlit run test instead of streamlit run test.py. I’m a littled stumped if the file is both saved as .py and you are including the .py in your streamlit run command…