Message124473
There is a file named "µTorrent.lnk" in the folder.
Here is the code:
#encoding=utf-8
import os
for i in os.listdir('.'):
print os.path.isfile(i), '\t', i
a = input()
and the output:
True 3.py
False aμ汉字.txt
True uTorrent.lnk
False μTorrent.lnk
False μTorrent1.lnk
False μ汉字.txt
False μ汉字.txt.lnk
True αγβδο
True φχ.txt
True φχ.txt.lnk
the function just doesn't work with the character "μ" |
|
Date |
User |
Action |
Args |
2010-12-22 01:52:00 | wyj1046 | set | recipients:
+ wyj1046 |
2010-12-22 01:52:00 | wyj1046 | set | messageid: <1292982720.53.0.448142280407.issue10754@psf.upfronthosting.co.za> |
2010-12-22 01:51:56 | wyj1046 | link | issue10754 messages |
2010-12-22 01:51:56 | wyj1046 | create | |
|