Streamlit is truly awesome.
One thing I have not figured out is how to split my app into multiple files as it grows with all files using Magic. How can I do this?
I would like to split my app into a structure like
. └── src ├── app.py └── pages ├── page1.py └── page2.py
and then in app.py insert contents from page1 and page2 something like
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.
I’ve created a feature request here https://github.com/streamlit/streamlit/issues/288