accents in windows

C@rlos cmferras at estudiantes.uci.cu
Thu Oct 30 08:30:49 EDT 2014


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???


----- Mensaje original -----
De: "Chris Angelico" <rosuav at gmail.com>
CC: python-list at python.org
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 estudiantes.uci.cu> 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

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.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

-- 
Conserva lo que tienes...Olvida lo que te duele...Lucha por lo que quieres... Valora lo que posees...Perdona a los que te hieren y disfruta a los que te aman. Nos pasamos la vida esperando que pase algo... y lo único que pasa es la vida. No entendemos el valor de los momentos, hasta que se han convertido en recuerdos. Por eso... Haz lo que quieras hacer, antes de que se convierta en lo que te "gustaría" haber hecho.. No hagas de tu vida un borrador, tal vez no tengas tiempo de pasarlo en limpio !! 

.....C at rlos 

III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu



More information about the Python-list mailing list