Message196479
| Author |
tegavu |
| Recipients |
tegavu |
| Date |
2013年08月29日.18:52:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1377802367.69.0.551472579776.issue18877@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|
History
|
|---|
| 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 |
|