FilePicker.get_directory_path keeps closing the interface after directory is selected #1763
Unanswered
FilipeDVelosa
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Hi! |
Beta Was this translation helpful? Give feedback.
4 replies
-
Just taking advantage of the context: How can I use the chosen directory to fetch files from this directory? My difficulty is using the chosen directory path. Normally I receive None, although it works in the same way as you see in the image in the previous answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Hello everyone, I am currently trying to get the path of a certain directory in a simple program that I am creating. In my code, after choosing the desired folder and pressing 'Select Folder' the interface is closed and no error is printed in the Python console. It is even indicated that 'Process finished with exit code 0'. The same does not happen while selecting files. To dismiss any error regarding my code, I used the code in the examples (https://github.com/flet-dev/examples/blob/main/python/controls/file-picker/file-picker-all-modes.py) and I have the same behavior.
Any idea what might be causing this?
Thanks in advance.
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions