✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Using File Explorer to upload files

I want to upload (and download) files to my PC using Dash.
Would someone point me (or show me please) how I can create a UI where the user can open a File Explorer to choose the file to load onto the PC or vice-versa. I don’t want the user to have to manually type in the full path.


See https://dash.plotly.com/dash-core-components/upload


Thanks. That solved 95% of my problem. Appreciate it.
However, it only seems to return the file name and contents. Not the path. Is there any way to find out the path so I can use that information?