Has anyone installed tkinter 8.6 on windows ?
There is a known bug in filedialog.askopenfilenames which properly returns a tuple of file pathnames under linux, but returns a string under windows.
Typical windows return string (should be tuple):
C:/testdir/AnotherFile.txt {C:/testdir/This is file with spaces.txt} {C:/testdir/z_last-file test.txt}
I'm curious if tkinter 8.6 fixes this problem. I think 8.6 is released but not part of the python package yet.
# python 3.3, tkinter 8.5
from tkinter import filedialog
file_list = filedialog.askopenfilenames( title = 'Select Files')
print( '<', file_list, '>', sep="")
if (not isinstance( file_list, tuple )):
sc = win_askopen_convert( file_list)
for x in sc:
print( '[', x , ']', sep='')