Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6107
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '2.7': 0.04; 'extensions': 0.04; 'retrieved': 0.05; 'switched': 0.05; 'url:bugs': 0.05; 'bug.': 0.07; 'raises': 0.07; 'python': 0.08; 'pywin32': 0.09; 'question:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'this:': 0.10; 'subject:file': 0.14; 'from:addr:yahoo.com.ar': 0.16; 'subject:tkFileDialog': 0.16; 'mon,': 0.17; 'interface': 0.21; 'seems': 0.21; 'string': 0.26; 'van': 0.27; 'disk': 0.29; 'charset:iso-8859-15': 0.30; 'header:X-Complaints-To:1': 0.32; 'to:addr:python-list': 0.33; 'external': 0.33; 'file': 0.34; 'alex': 0.34; 'there': 0.35; 'header:User-Agent:1': 0.35; 'using': 0.35; 'issue': 0.37; 'platforms': 0.37; 'two': 0.37; 'url:python': 0.38; 'received:org': 0.38; 'url:org': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'subject: (': 0.39; 'header:Mime-Version:1': 0.39; 'subject:with': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'back': 0.63; 'crash': 0.67; '-0300,': 0.84; 'genellina': 0.84; 'gabriel': 0.91; 'received:186': 0.91; 'usb': 0.95 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> |
| Subject | Re: Multiple file select with tkFileDialog passes back 'decorated' strings (sometimes) |
| Date | Mon, 23 May 2011 21:41:06 -0300 |
| References | <4dda5a89$0$49175$e4fe514c@news.xs4all.nl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed; delsp=yes |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 186.19.171.200 |
| User-Agent | Opera Mail/11.10 (Win32) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1992.1306197690.9059.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1306197690 news.xs4all.nl 49045 [::ffff:82.94.164.166]:48706 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:6107 |
Show key headers only | View raw
En Mon, 23 May 2011 10:00:53 -0300, Alex van der Spek <zdoor@xs4all.nl>
escribió:
> I switched from Mark Hammonds pywin32 extensions for file choosers as
> the multiselect there seems to crash on me when selecting more than a
> few dozen. Using Tk now. Works well but the resulting string passed back
> seems to 'decorated' when the files are on local disk and not decorated
> when retrieved over a USB interface from an external disk?
>
> I do this:
>
>> From local disk I get back:
>
> '{file1.bin} {file2.bin}'
>
>> From external disk I get back:
>
> 'file1.bin file2.bin'
>
> I can handle/parse both, not an issue but it raises the question: Are
> these the only two possibilities? Is it the same across platforms (I use
> Python 2.7 on Win Vista)?
An old bug. See http://bugs.python.org/issue5712 for a workaround.
--
Gabriel Genellina
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Multiple file select with tkFileDialog passes back 'decorated' strings (sometimes) "Alex van der Spek" <zdoor@xs4all.nl> - 2011-05-23 15:00 +0200 Re: Multiple file select with tkFileDialog passes back 'decorated' strings (sometimes) "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> - 2011-05-23 21:41 -0300
csiph-web