Re: [Tkinter-discuss] tkinter file dialog pattern matching

2015-08-22 Thread Cameron Laird
On Sat, Aug 22, 2015 at 10:17:11PM +0200, Laura Creighton wrote: > In a message of Sat, 22 Aug 2015 21:04:24 +0100, Pawel Mosakowski writes: > >Hi, > > > >I've found this little gem in the Tk docs > >https://www.tcl.tk/man/tcl8.4/TkCmd/getOpenFile.htm#M13 > >>From what I see "file patterns" in the

Re: [Tkinter-discuss] tkinter file dialog pattern matching

2015-08-22 Thread Laura Creighton
In a message of Sat, 22 Aug 2015 21:04:24 +0100, Pawel Mosakowski writes: >Hi, > >I've found this little gem in the Tk docs >https://www.tcl.tk/man/tcl8.4/TkCmd/getOpenFile.htm#M13 >>From what I see "file patterns" in the file dialog are not "regex >patterns" and do not support special characters.

Re: [Tkinter-discuss] tkinter file dialog pattern matching

2015-08-22 Thread Pawel Mosakowski
Hi, I've found this little gem in the Tk docs https://www.tcl.tk/man/tcl8.4/TkCmd/getOpenFile.htm#M13 >From what I see "file patterns" in the file dialog are not "regex patterns" and do not support special characters. Only things that work are: 1) * - any extension 2) "" - files without extension

[Tkinter-discuss] tkinter file dialog pattern matching

2015-08-22 Thread Laura Creighton
Somebody on the tutor mailing list wants to match "all files and direcories in this directory that do not start with a ." The filetypes option seems only to want patterns to match, not patterns to exclude. Is my pattern matching magic just off, or is there no way to exclude things in a tkFileDial