Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79952

Re: accents in windows

Date 2014-10-30 08:30 -0400
From "C@rlos" <cmferras@estudiantes.uci.cu>
References <838615157.3476350.1414627277178.JavaMail.zimbra@estudiantes.uci.cu> <1003235191.3477106.1414627437852.JavaMail.zimbra@estudiantes.uci.cu> <CAPTjJmonbmS85SUK46Z37=2BQscKws3fvGVOV2izbUsE16AL=g@mail.gmail.com>
Subject Re: accents in windows
Newsgroups comp.lang.python
Message-ID <mailman.15319.1414672292.18130.python-list@python.org> (permalink)

Show all headers | View raw


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@gmail.com>
CC: python-list@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@rlos <cmferras@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@rlos 

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

Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: accents in windows "C@rlos" <cmferras@estudiantes.uci.cu> - 2014-10-30 08:30 -0400
  Re: accents in windows Nobody <nobody@nowhere.invalid> - 2014-10-31 18:17 +0000

csiph-web