Message196479
Using Python 3.3 on W7x64 I wanted to create a file dialog that allows me to select multiple files.
The code below is an example of how to re-create the bug.
# -*- coding: iso-8859-15 -*-
# Python 3
import tkinter
import tkinter.filedialog
def callback():
name = tkinter.filedialog.askopenfilenames()
print(name)
tkinter.Button(text='File Open', command=callback).pack()
tkinter.mainloop()
---------
THE PROBLEM:
When selecting any file in the windows library\* folders (those: http://beingpc.com/wp-content/uploads/2011/05/How-to-Change-the-Windows-7-Library-Icon.jpg ) the return value that will be printed is always {}.
tkinter.filedialog.askopenfilename() (without the 's') works fine also in those directories.
Can anyone reproduce this behavior? |
|
Date |
User |
Action |
Args |
2013-08-29 18:52:47 | tegavu | set | recipients:
+ tegavu |
2013-08-29 18:52:47 | tegavu | set | messageid: <1377802367.69.0.551472579776.issue18877@psf.upfronthosting.co.za> |
2013-08-29 18:52:47 | tegavu | link | issue18877 messages |
2013-08-29 18:52:47 | tegavu | create | |
|