[Tutor] askopenfilename - columns missing in navigationwindow

eryksun eryksun at gmail.com
Sun Aug 26 06:25:18 CEST 2012


On Sat, Aug 25, 2012 at 9:56 PM, Joel Levine <Joel.Levine at dartmouth.edu> wrote:
>
> from tkFileDialog import askopenfilename
> fn=askopenfilename()
>
> I use this program repeatedly.  Up to a few hours ago, the navigation window
> opened with a full array of columns, including name and date.
>
> Once I mistakenly typed  control-F  (Find) instead of letters (for the
> file).   Now the navigation window opens with only one column, the name
> column.

Try running "tclsh" in the terminal. Then enter:

package require Tk
set fn [tk_getOpenFile]
puts $fn
exit

Is it the same dialog as in Python? Knowing whether the problem is
with Tcl/Tk or with Tkinter might get you closer to a solution.


More information about the Tutor mailing list