Extract folder path from file_uploader

I can understand file_uploader returns me the data of selected file/(s). How do I extract the base folder of the selected file - I’ll need this information to write a .txt file in the base of selected input file.

1 Like

Hi @Srinath_Srk -

Is your request the same as this feature request? https://github.com/streamlit/streamlit/issues/904

1 Like

Yes!

1 Like