Multiple file open dialog
Eric Brunel
eric.brunel at pragmadev.com
Thu Sep 26 08:45:37 EDT 2002
Nick B wrote:
> Hi,
>
> Can anyone advise on how to get a list of multiple file names from a GUI
> dialog. I am working exclusively in Win32 but so far only have GUI
> experience with Tkinter. What I would like is access to the standard
> Win32 shift-click and control-click conventions.
>
> Tkinter's askopenfilename can only return a single filename (?).
There should be a "multiple" option on askopenfilename that allows to
select multiple files. However, it seems that's it's quite recent (didn't
succeed in making it work with Tk 8.3.2). But maybe it works for you? Just
do:
askopenfilename(..., multiple=1, ...)
HTH
--
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com
More information about the Python-list
mailing list