On Tue, 20 Jun 2006, Kent Johnson wrote:

> What happens if you pass a Unicode string to listdir(), 
> e.g. os.listdir(u'.')?

Doh!  I should've thought of that.  Works great.

Of course, in the meantime I went through and manually renamed 100 files
by hand, but this is good to know for the next time!

Thanks, Kent!

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to