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


Groups > comp.lang.python > #100442

Re: cannot open file with non-ASCII filename

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: cannot open file with non-ASCII filename
Date Tue, 15 Dec 2015 01:13:18 +0100
Lines 24
Message-ID <mailman.8.1450138408.22044.python-list@python.org> (permalink)
References <n4mqgm$v1d$1@news2.informatik.uni-stuttgart.de> <CACL+1atduGePg2BXpf-=T___-mz44-=6GV0yU71hpJhM8sqsJA@mail.gmail.com> <20151214221751.GM12472@rus.uni-stuttgart.de> <CACL+1at7Pf541eHshiY7iECC5ncCdWSMaj1wtDygGSoEXjGV3Q@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
X-Trace news.uni-berlin.de LuM1CKsFDQG5dXOrghsMjAV92yiM2jvBTODRE7ywZgOA==
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.05; 'url:bitbucket': 0.05; 'pypy': 0.07; 'subject:file': 0.07; 'cc:addr:python-list': 0.09; 'non-ascii': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'url:pypy': 0.09; 'python': 0.10; '2.7': 0.13; 'suggest': 0.15; '>list.': 0.16; '>on': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'dropping': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'ignores': 0.16; 'message-id:@fido.openend.se': 0.16; 'module?': 0.16; 'pypi.': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:non': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'windows': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**2': 0.20; '3.x': 0.22; 'ctypes': 0.22; 'decide': 0.23; 'wrote': 0.23; 'dec': 0.23; 'tried': 0.24; 'mon,': 0.24; 'module': 0.25; '14,': 0.27; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'url:mailman': 0.30; 'topic': 0.32; 'url:python': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'list': 0.34; 'path': 0.35; 'url:org': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'starting': 0.37; 'subject:-': 0.39; 'url:mail': 0.40; 'subject:with': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'here.': 0.62; 'better.': 0.66; 'header:In-reply-to:1': 0.84; 'queued': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1450138403; bh=AwkUzpF4725zIf526M3sAvPXPAfYBbUVAoRYQMVIoC4=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=yMOcT01QfwkID5kUW3Yx2/1t8vWbevDiqchEc3Helso/9MzwwS/NUGMsN0HJxo+Sx Bw7Geg4S+gFBmhqQHY97SYyBkQ/x712BXlXZ+txvbP7DvcOHSEakyiaSRRj6tGzSza Nv1NLOHohwsnQD2U9exzI1HQDRm28aZ+Yc8LqlgA=
In-reply-to <CACL+1at7Pf541eHshiY7iECC5ncCdWSMaj1wtDygGSoEXjGV3Q@mail.gmail.com>
Comments In-reply-to eryk sun <eryksun@gmail.com> message dated "Mon, 14 Dec 2015 17:55:04 -0600."
Content-ID <21857.1450138398.1@fido>
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Tue, 15 Dec 2015 01:13:23 +0100 (CET)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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>
Xref csiph.com comp.lang.python:100442

Show key headers only | View raw


In a message of Mon, 14 Dec 2015 17:55:04 -0600, eryk sun writes:
>On Mon, Dec 14, 2015 at 4:17 PM, Ulli Horlacher
><framstag@rus.uni-stuttgart.de> wrote:
>>
>> ImportError: No module named pyreadline
>>
>> Is it a python 3.x module?
>>
>> I am limited to Python 2.7
>
>pyreadline is available for 2.7-3.5 on PyPI. Anyway, I tried it to no
>avail. When dropping a file path into the console it ignores the
>alt-numpad sequences that get queued for non-ASCII characters, just
>like mvcrt.getwch. If you decide to roll your own getwch via ctypes or
>PyWin32, I suggest starting a new topic on the ctypes list or Windows
>list.
>-- 
>https://mail.python.org/mailman/listinfo/python-list

PyPy wrote its own pyreadline.
You can get it here. https://bitbucket.org/pypy/pyrepl
And see if it works any better.

Laura

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


Thread

cannot open file with non-ASCII filename Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-12-14 16:24 +0000
  Re: cannot open file with non-ASCII filename Terry Reedy <tjreedy@udel.edu> - 2015-12-14 13:34 -0500
    Re: cannot open file with non-ASCII filename wxjmfauth@gmail.com - 2015-12-14 11:07 -0800
  Re: cannot open file with non-ASCII filename eryk sun <eryksun@gmail.com> - 2015-12-14 12:45 -0600
  Re: cannot open file with non-ASCII filename Laura Creighton <lac@openend.se> - 2015-12-14 19:51 +0100
    Re: cannot open file with non-ASCII filename Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-12-14 22:11 +0000
      Re: cannot open file with non-ASCII filename Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-14 23:41 +0100
        Re: cannot open file with non-ASCII filename Laura Creighton <lac@openend.se> - 2015-12-15 01:07 +0100
        Re: cannot open file with non-ASCII filename eryk sun <eryksun@gmail.com> - 2015-12-14 21:20 -0600
  Re: cannot open file with non-ASCII filename eryk sun <eryksun@gmail.com> - 2015-12-14 17:55 -0600
  Re: cannot open file with non-ASCII filename Laura Creighton <lac@openend.se> - 2015-12-15 01:13 +0100
    Re: cannot open file with non-ASCII filename Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-12-15 08:26 +0000
      Re: cannot open file with non-ASCII filename Laura Creighton <lac@openend.se> - 2015-12-15 15:09 +0100
      Re: cannot open file with non-ASCII filename eryk sun <eryksun@gmail.com> - 2015-12-15 09:34 -0600
        Re: cannot open file with non-ASCII filename Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-12-15 17:04 +0000
          Re: cannot open file with non-ASCII filename eryk sun <eryksun@gmail.com> - 2015-12-16 21:39 -0600
          Re: cannot open file with non-ASCII filename smap <askme.first@thankyouverymuch.invalid> - 2015-12-18 21:15 +0000
  cannot open file with non-ASCII filename bearmingo <bearmingo@gmail.com> - 2015-12-17 21:12 -0800
    Re: cannot open file with non-ASCII filename Terry Reedy <tjreedy@udel.edu> - 2015-12-18 01:37 -0500

csiph-web