Tk alternative to askopenfilename and askdirectory?

Rick Johnson rantingrickjohnson at gmail.com
Wed Dec 16 19:28:00 EST 2015


On Wednesday, December 16, 2015 at 7:19:25 AM UTC-6, Ulli Horlacher wrote:
> Is there an alternative to Tk's askopenfilename() and askdirectory()?
> 
> I want to select a files and directories within one widget, but
> askopenfilename() let me only select files and askdirectory() let me only
> select directories.

Oh i understand. What you opine for is something like: askOpenFileOrDir() --  which displays a dialog from which a file or directory can be selected by the user. 



More information about the Python-list mailing list