Re: Tkinter, tkFileDialog - how to select multiple files ?

2009-04-07 Thread Steve Offutt
Hmm ... sorry folks - this works for me everywhere except on the
machine I wrote it on ...

Must be some sort of configuration problem...

Steve
--
http://mail.python.org/mailman/listinfo/python-list


Tkinter, tkFileDialog - how to select multiple files ?

2009-04-07 Thread Steve Offutt
Let me preface by saying that I don't do much Python, however, I am in
my spare time, attempting to become somewhat comfortable with Python/
Tkinter.

I just can't seem to understand what is the problem with this:

--
import Tkinter, tkFileDialog

root = Tkinter.Tk()

files = tkFileDialog.askopenfilenames(parent = root, filetypes =
[('JPEG', '*.jpg'), ('ICON', '*.ico'), ('GIF', '*.gif')], title =
"Select files...", multiple = 1 )

print files
-

Any help greatly appreciated!

Steve
--
http://mail.python.org/mailman/listinfo/python-list