accents in windows

Terry Reedy tjreedy at
Thu Oct 30 19:04:04 CET 2014

On 10/30/2014 8:30 AM, C at rlos wrote:
> thanks U, but the real problem is:
> i have a path C:\Users\yanet\Desktop\áaaéeeíiiióooúuuñnn
> this path is correct, áaaéeeíiiióooúuuñnn is the name of a directory
> but when i try to use os.walk() usin this path, dont work, for os this
 > path dont exist, i try every things but nothing works.
> some help???

Using Python 3.4 should solve this problem.

> ----- Mensaje original -----
> De: "Chris Angelico" <rosuav at>
> CC: python-list at
> Enviados: Jueves, 30 de Octubre 2014 4:42:49
> Asunto: Re: accents in windows
> On Thu, Oct 30, 2014 at 11:03 AM, C at rlos <cmferras at> wrote:
>> i cant print any accent(á é í ó ú) or ñ in console  when i use windows OS
>> with python, the console showme an error or extrangers characters in some
>> cases, i need help

Using Idle and a font with accented chars should solve this problem.

> What version of Python? What is your code page set to?
> Windows and Unicode don't play very nicely together. You may find it
> better to use Idle (which has a GUI for this kind of display), and you
> will almost certainly find things easier on Linux.

Terry Jan Reedy

More information about the Python-list mailing list