looking for expertise

Neil Hodgson nhodgson at bigpond.net.au
Wed Mar 2 06:52:34 EST 2005


Michael:

> 5. file operations seem to be delicate; at least I got an error when I
> passed a filename that contains special characters as unicode to
> os.access(), so I guess that whenever I do file operations
> (os.remove(), shutil.copy() ...) the filename should be encoded back
> into system encoding before;

   This can lead to failure on Windows when the true Unicode file name can
not be encoded in the current system encoding.

   Neil





More information about the Python-list mailing list