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

2015-08-23 Thread Chris Roy-Smith
On 23/08/15 23:52, Laura Creighton wrote: oooh. Seems that there is an undocumented feature we can use! Laura --- Forwarded Message Return-Path: Date: Sun, 23 Aug 2015 12:40:02 +0200 From: Michael Lange To: tkinter-discuss@python.org Message-Id: <20150823124002.7391f37e21f9b5cfaa917...@

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

2015-08-23 Thread Laura Creighton
oooh. Seems that there is an undocumented feature we can use! Laura --- Forwarded Message Return-Path: Date: Sun, 23 Aug 2015 12:40:02 +0200 From: Michael Lange To: tkinter-discuss@python.org Message-Id: <20150823124002.7391f37e21f9b5cfaa917...@web.de> In-Reply-To: <20150822210424.321b826

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

2015-08-23 Thread Laura Creighton
Thank you very much. :) Laura ___ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss

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

2015-08-23 Thread Michael Lange
Hi, On Sat, 22 Aug 2015 22:17:11 +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 th

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

2015-08-23 Thread Michael Lange
Hi, On Sat, 22 Aug 2015 21:04:24 +0100 Pawel Mosakowski wrote: > 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. Onl

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