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


Groups > comp.lang.python > #79952

Re: accents in windows

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <cmferras@estudiantes.uci.cu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'python,': 0.02; 'nicely': 0.07; 'correct,': 0.09; 'exist,': 0.09; 'works.': 0.09; 'cc:addr :python-list': 0.11; 'gui': 0.12; 'windows': 0.15; 'conserva': 0.16; 'quieras': 0.16; 'received:cu': 0.16; 'subject:windows': 0.16; 'tengas': 0.16; 'valor': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'work,': 0.20; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'error': 0.23; 'certainly': 0.24; 'unicode': 0.24; 'together.': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'characters': 0.30; 'to?': 0.30; 'url:mailman': 0.30; '(which': 0.31; 'code': 0.31; 'easier': 0.31; 'received:10.0.0': 0.31; 'linux.': 0.31; 'url:python': 0.33; '-----': 0.33; 'header:Received:9': 0.33; 'problem': 0.35; 'but': 0.35; 'version': 0.36; 'idle': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'received:10': 0.37; 'url:mail': 0.40; 'han': 0.60; 'received:unknown': 0.61; 'name': 0.63; 're:': 0.63; 'kind': 0.63; 'real': 0.63; '30,': 0.65; 'email name:python-list': 0.65; 'to:addr:gmail.com': 0.65; 'dont': 0.67; 'hasta': 0.68; 'nos': 0.70; 'received:200': 0.72; 'tiempo': 0.74; 'convertido': 0.84; 'escuela': 0.84; 'hagas': 0.84; 'haz': 0.84; 'iii': 0.84
X-Amavis-Modified Mail body modified (using disclaimer) - xmail2.uci.cu
X-Virus-Scanned amavisd-new at xmail2.uci.cu
Date Thu, 30 Oct 2014 08:30:49 -0400 (CDT)
From "C@rlos" <cmferras@estudiantes.uci.cu>
To Chris Angelico <rosuav@gmail.com>
In-Reply-To <CAPTjJmonbmS85SUK46Z37=2BQscKws3fvGVOV2izbUsE16AL=g@mail.gmail.com>
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
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Mailer Zimbra 8.0.5_GA_5839 (ZimbraWebClient - FF29 (Linux)/8.0.5_GA_5839)
Thread-Topic accents in windows
Thread-Index n6bkyZsA/FFLoyQpclhskD6i/hNuuQ==
X-Mailman-Approved-At Thu, 30 Oct 2014 13:31:32 +0100
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15319.1414672292.18130.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414672293 news.xs4all.nl 2901 [2001:888:2000:d::a6]:57452
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79952

Show key headers only | 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