sys.path and unicode folder names

"Martin v. Löwis" martin at v.loewis.de
Tue Feb 7 14:24:28 EST 2006


Nir Aides wrote:
> Is there a solution or a work around for the sys.path problem with
> unicode folder names on Windows XP?
> 
> I need to be able to import modules from a folder with a non-ascii name.

If the name is restricted to the CP_ACP code page (i.e. more than ASCII,
less then full Unicode), using the "mbcs" encoding should work fine.

Regards,
Martin



More information about the Python-list mailing list