Filechooser query


Hi, in the doc for filechooser, for the 2nd parameter (initialFileOrDirectory) we have:

“the file or directory that should be selected when the dialog box opens. If this parameter is set to File(), a sensible default directory will be used instead”

So I like using the File() default directory as the path chosen by the user is automatically stored and used the next time the filechooser is used. However, I’d also like to be able to specify the filename that appears when the dialog is presented, which only seems to be possible if I provide my own full path which then negates the functionality provided by just using File().

Is there any way to do this without coding it myself?