New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tkFileDialog.askopenfilenames scrambling multiple file selection #54525
Comments
I am running the following : Linux Centos version 2.6.18 I have a Python GUI program (importing Tkinter and tkFileDialog) fileList = tkFileDialog.askopenfilenames(initialdir=self.startfiledir,
title="Select Files for Processing",
filetypes=self.ftypes, multiple=1) where "startfiledir" and "ftypes" are defined elsewhere. To select multiple files the user highlights a selection It appears that the file name list is not being parsed into indivdual file names. Is there a fault with my code ? Suggestions are welcome. |
Works for me on a current Debian Linux system with a Debian Python 2.5.5 + Tcl/Tk 8.5 and with Python 2.6.1 + Tcl/Tk 8.5 on OS X 10.6 and with Python 2.7 + Tcl/Tk 8.4 on OS X 10.6. In all cases, the tkFileDialog.askopenfilenames returns a tuple of absolute file paths. (BTW, only security issues are accepted for Python 2.5 at this time). |
Postscript: I've subsequently noticed bpo-5712 in which somewhat similar symptoms are reported but, so far, only on Windows systems. If your problem is not yet resolved, you might want to chime in there. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: