471,330 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Tk Tkinter : multiple file selection dialog over multipledirectories ?

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
Dec 14 '07 #1
1 5888
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?
Dec 16 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Stewart Midwinter | last post: by
reply views Thread by Sylwia | last post: by
reply views Thread by Ringwraith | last post: by
2 posts views Thread by Irmen de Jong | last post: by
6 posts views Thread by phil | last post: by
2 posts views Thread by yanivoliver | last post: by
1 post views Thread by Michael Yanowitz | last post: by
44 posts views Thread by bg_ie | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.