Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29811
| From | Kevin Walzer <kw@codebykevin.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Reading a file in IDLE 3 on Mac-Lion |
| Date | 2012-09-23 08:45 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <k3n08k$jeb$1@dont-email.me> (permalink) |
| References | <franck-CEE9A3.16295521092012@news.free.fr> <505ccdc5$0$6919$e4fe514c@news2.news.xs4all.nl> <franck-BB0EBD.09305722092012@news.free.fr> <505d9cc5$0$6846$e4fe514c@news2.news.xs4all.nl> <mailman.1109.1348385618.27098.python-list@python.org> |
On 9/23/12 3:33 AM, Ned Deily wrote: > This appears to a difference in behavior between Carbon Tk 8.4 and Cocoa > Tk 8.5 on OS X. The python.org 32-bit-only installers are built to link > with the former and, with 8.4, the Open file dialog box does have the > file-type filter menu as Hans describes. The python.org 64-/32-bit > installers link with the newer Cocoa Tk 8.5 and, with it, the Open file > dialog box does not have the filter menu. I'm not sure there is > anything that IDLE or Tkinter can do about that; any change may need to > be by the Tcl/Tk folks. But it would be good if you would open an issue > at bugs.python.org so we can follow up on it. It's a function of NSOpenPanel, the underlying native dialog that supports the "open file" dialog on OS X. It doesn't have a "file filter" capability, and so it will only recognize hard-coded types that are passed to it, cf. py and txt files. "dat" isn't recognized, I tested it out. There's nothing to do here; it's an aspect of the native dialog. -- Kevin Walzer Code by Kevin http://www.codebykevin.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Reading a file in IDLE 3 on Mac-Lion Franck Ditter <franck@ditter.org> - 2012-09-21 16:29 +0200
Re: Reading a file in IDLE 3 on Mac-Lion Hans Mulder <hansmu@xs4all.nl> - 2012-09-21 22:27 +0200
Re: Reading a file in IDLE 3 on Mac-Lion Franck Ditter <franck@ditter.org> - 2012-09-22 09:30 +0200
Re: Reading a file in IDLE 3 on Mac-Lion Hans Mulder <hansmu@xs4all.nl> - 2012-09-22 13:11 +0200
Re: Reading a file in IDLE 3 on Mac-Lion Ned Deily <nad@acm.org> - 2012-09-23 00:33 -0700
Re: Reading a file in IDLE 3 on Mac-Lion Kevin Walzer <kw@codebykevin.com> - 2012-09-23 08:45 -0400
Re: Reading a file in IDLE 3 on Mac-Lion Kevin Walzer <kw@codebykevin.com> - 2012-09-23 10:40 -0400
csiph-web