I am learning Python Dashboard. I know that there is a Dash core components upload allow to upload a file. What I need is load all of files in a folder. I would like to know how to use a core component to browse to a select folder then read all files in that folder.
Thanks in advance.
You can use the dash_core_components.Upload
component and set multiple=True
to upload multiple files. Here is an example: https://dash.plotly.com/dash-core-components/upload.
This, however, uploads all the contents of all the files at once. What you cannot do with it is just get the contents of a folder, so that you can upload the files one by one.
However, since your question is about uploading all files in a folder, this should do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With