1 Answer
1

It doesn't look like any of the major GUI libraries for Python support this

PySide/PyQt

wxWidgets

pyGTK

I've attached a hack that kind of does what you want.

The buttons toggle between selecting files and selecting directories... It's not the best User Experience, but it works? You might be able to get something similar with other frameworks, but I'm not as familiar with them as I am with PyQT/PySide. This should work in PyQt as well, if you prefer it (for some reason) over PySide.