cannot open file with non-ASCII filename

eryk sun eryksun at gmail.com
Mon Dec 14 18:55:04 EST 2015


On Mon, Dec 14, 2015 at 4:17 PM, Ulli Horlacher
<framstag at 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.



More information about the Python-list mailing list