It would be nice to have a folder picker widget, so that users can select a folder for bulk operation on multiple files within the folder.
The folder picker needs to be supported on Windows, Linux, Mac
It would be nice to have a folder picker widget, so that users can select a folder for bulk operation on multiple files within the folder.
The folder picker needs to be supported on Windows, Linux, Mac
Hi @sagnik.pal, welcome to the Streamlit forum!
I think your feature request has already been filed. Could you take a look at this enhancement description and see if it fits your needs? If you have any suggestions you can add them to the issue.
Thanks for your suggestion!
Any ETA for the folder picker? It will make Streamlit so so desirable…
The latest streamlit 0.68.0 has a much improved file uploader for multiple files, does that help at all?
Haven’t tried it yet, but from what I have seen it wouldn’t work well with 100+ files. The folder picker should ideally be something like selecting a path using the Streamlit UI.
I have to agree and let me add file selection by name only as well. The function should return the full qualified path or a pathlib object. This makes so much sense when you are working localy. It would also help those people who want to process files in the GB range that are local anyway. Nevertheless the new file_uploader is a big improvement!
Any updates on a folder/directory picker like the file picker widget? I’m simply trying to allow the user to select a directory and to print or store that directory path to the screen/variable.
I’m in need of this widget as well.
Is it an idea to duplicate the file_uploader widget and just skip the BytesIO logic to read a file into RAM but just return the chosen dir(or file) path instead?
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.