Message85658
| Author |
daku9999 |
| Recipients |
daku9999 |
| Date |
2009年04月06日.17:45:10 |
| SpamBayes Score |
2.6803653e-07 |
| Marked as misclassified |
No |
| Message-id |
<1239039911.64.0.172824576559.issue5712@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
from tkFileDialog import askopenfilenames
a = askopenfilenames()
print a
print type(a)
'''
--output--
J:/PortablePython_1.1_py2.6.1/Aatest26/tk_new/rgb2hex.py
J:/PortablePython_1.1_py2.6.1/Aatest26/tk_new/bluebtn.jpg
J:/PortablePython_1.1_py2.6.1/Aatest26/tk_new/redbtn.jpg
<type 'unicode'>
'''
---- behaviour seen on windows xp 2.6.1 python release. Linux
distributions seem fine.
---- parsing above string (as it's not a tuple anymore) is difficult as
it is a list of filenames separated by a space but spaces can be in the
middle of filenames. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年04月06日 17:45:12 | daku9999 | set | recipients:
+ daku9999 |
| 2009年04月06日 17:45:11 | daku9999 | set | messageid: <1239039911.64.0.172824576559.issue5712@psf.upfronthosting.co.za> |
| 2009年04月06日 17:45:10 | daku9999 | link | issue5712 messages |
| 2009年04月06日 17:45:10 | daku9999 | create |
|