tkFileDialog and Multiple Filetypes

Greg Krohn volucris at hotmail.com
Fri Sep 21 13:28:11 EDT 2001


This works fine on my machine (WinME ActivePython 2.1). What error are you
getting?

--

Volucris (a) hotmail.com
"Eu não falo uma única palavra do português."

"Brian" <brian.smith at thr.ca> wrote in message
news:1984df93.0109210801.8c00851 at posting.google.com...
> I haven't been able to turn up an example of specifying more than one
> file type per line.e.g
>
> n=askopenfilename(filetypes=[("Image Files","*.jpg;*.gif"),
>                              ("JPEG",'*.jpg'),
>                              ("GIF",'*.gif'),
>                              ('All','*')])
>
> This results in a TCL error. I don't want to select multiple files, I
> just want to display multiple types. Is there a way of doing this?
>
> Thanks in advance.





More information about the Python-list mailing list