[Tkinter-discuss] tkFileDialog.askopenfile() mac

2014-08-11 Thread JBB
distribution on a Linux VM on the same machine. There, it works fine. The variable 'file' contains the name of whichever file I've selected. As far as I know, my Mac Python distribution is up-to-date. Pointers to documentation or fixes ap

Re: [Tkinter-discuss] tkFileDialog.askopenfile() mac

2014-08-12 Thread JBB
On 8/12/14, 1:20 AM, Michael Lange wrote: Hi, On Mon, 11 Aug 2014 20:37:38 -0700 JBB wrote: Hello, I am attempting to use tkFileDialog.askopenfile(): 1) On my Mac OSX Mavericks w/ Python 2.7.8, Anaconda 2.0.1 (x86_64) the following code (found via web searches) crashes: from Tkinter

Re: [Tkinter-discuss] tkFileDialog.askopenfile() mac

2014-08-12 Thread JBB
On 8/12/14, 3:03 PM, Cameron Laird wrote: On Tue, Aug 12, 2014 at 07:23:11AM -0700, JBB wrote: [ Snip ] . Good follow-up, JBB; it helps the rest of us to learn your findings as you describe them here. Tkinter is indeed the official Python GUI toolkit. At the same

Re: [Tkinter-discuss] tkFileDialog.askopenfile() mac

2014-08-12 Thread JBB
Kevin, On 8/12/14, 7:19 PM, Kevin Walzer wrote: Hi, On 8/12/14, 10:23 AM, JBB wrote: After some more digging, I find that Python uses the macosx backend on initialization. If I change this to tk before beginning work, the problem goes away. My Linux Python uses tk by default. What do you