My code processes all the files in a folder in a Windows window. I want to offer the user (who will also be me) the opportunity to select a folder for processing using the standard file selection dialog.
I am trying to use the GetOpenFileName function to make this happen. (I actually call it from Python via pywin32 , but this should not be relevant.)
I can make him select a specific file, but I do not see any parameters allowing the user to select a folder instead.
Is there a combination of flags that I didn't understand, do I call the wrong function completely or is there another idiom for this?
source share