Hello , I tried to import openpyxl in order to load an excel file and then read a couple of cell values in but that appears not to work in Streamlit. I am using file = st.file_uploader(“Choose an excel file”, type=“xlsx”) What would be the best way to achieve reading in a couple of stand alone cells that act as variables in the code?
I did find some work arounds with pandas but thats not very efficient.
In general, this is more of a Python question than a Streamlit one. Meaning, it’s most likely not the case that Streamlit doesn’t allow this, but rather a different library doesn’t work the way you would expect.
Can you post a code snippet demonstrating what you have tried?