and then in app.py insert contents from page1 and page2 something like
st.insert('pages/page1.py')
Of course I can import functions to app.py from page1 and page2 and then run them on a line. I can also import the page1, page2 modules and add them to a line.
But I wan’t to be able to use all the magic in page1 and page2 as well. It’s magic like “”“This is Markdown Magic in page1.py”"" I wan’t to work.
Btw, it sounds like you’re making something ambitious! Please do share your experience building a multi-file project in Streamlit with the community. I will be very excited to learn more from your experience.