On Tue, 9 Oct 2007, Tony Cappellini wrote:
> Unfortunately,os.listdir() returns the same string as glob.glob, for
> the problem file I mentioned.
Tony --
Try specifying the argument to os.listdir as a unicode string. I've found
that cures many ailments like this.
e.g., instead of something like:
filelist = os.listdir('.')
use:
filelist = os.listdir(u'.')
I don't think glob supports this.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor