Tk Tkinter : multiple file selection dialog over multipledirectories ?

G

goldtech

Hi, TKinter question

Let's say I use:
....

files = tkFileDialog.askopenFilenames(filetypes=[('AccessDB Files',
'*.mdb')])

....

This works OK - I can select multiple files and the var "files" will
be a tuple of the files.

But let's say the files I want to select are in different folders/
directories, when I select a file then go to a different dir and try
to select a 2nd file it overwrites the 1st file entree.

Is there a way for multiple file selection over different directories?
With a dialog box or another way?

Thanks. Using Python 2.4.1
 
D

dwblas

The simple/obvious way is click a "save" button which appends the
files selected into a list. Then move on to the next directory and
repeat. Is there a reason why this won't work?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top