question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Directory chooser widget

See original GitHub issue

Now it is necessary to enter the directory path via st.text_input. This doesn’t take advantage of the GUI over the console interface. Please create a widget that allows to select a directory in graphical mode and returns the path to it.


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you’d like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

2reactions
PlatonBcommented, Aug 25, 2022

@LukasMasuch It might be a good idea to implement the new widget as a hybrid with st.text_input:

Streamlit_directory_chooser_PlatonB

2reactions
LukasMasuchcommented, Aug 24, 2022

@PlatonB Thanks for your suggestion! This sounds like a useful addition 👍 I will forward this feature request to our product team.

For other users reading this enhancement: please upvote if you also want to have this implemented!

Read more comments on GitHub >

github_iconTop Results From Across the Web

FileSelector — Panel v0.14.2
The FileSelector widget allows browsing the filesystem on the server and selecting one or more files in a directory. For more information about...
Read more >
ipyfilechooser
A simple Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets. The selected path and file are available via .selected_path ......
Read more >
How can I use FileChooser to choose a directory? #171
I have a parameter that is a directory. I tried to use FileChooser for it but the UI doesn't allow me to choose...
Read more >
Folder Picker Widget - Random
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...
Read more >
File Chooser Widget for Local Path
Hello, I'm currently creating a workflow where 3 different XLS files need to be imported. Unfortunately the path to the files (mount point ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found