Python Forum
[WxPython] Any dialog that allow user to select file OR folder? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [WxPython] Any dialog that allow user to select file OR folder? (/thread-17251.html)



Any dialog that allow user to select file OR folder? - buran - Apr-03-2019

I know there is wx.DirDialog and also wx.FileDialog. However I am not able to see "hybrid", i.e. dialog that allows user to select either file or folder? Do I miss something, some dialog?


RE: Any dialog that allow user to select file OR folder? - Yoriz - Apr-03-2019

wxPython FileDialog wildcard to include directories?



RE: Any dialog that allow user to select file OR folder? - buran - Apr-03-2019

Thanks, Yoriz. Today I found the thread linked in the answer. Just wanted to be sure, because it look outdated. I think I will go with separate select folder and select dir or allow for multiple files.

by the way, I think have added wxpython prefix. wasn't it visible?


RE: Any dialog that allow user to select file OR folder? - Yoriz - Apr-03-2019

NO worries, I added the wxpython prefix again by mistake not realising it was already there.