[python-win32] curses and _curses

John Machin sjmachin at lexicon.net
Tue May 2 00:48:36 CEST 2006


On 2/05/2006 8:16 AM, Dean Allen Provins wrote:
> Hello:
> 
> I just installed the 2.4 version of Python on a WinXP box.  I then
> copied over my python code which runs under Linux.  This code uses
> "curses.ascii" (isspace specifically).
> 
> The Win version of the libraries has a curses directory and within it,
> the ascii.py module.  Unfortunately, the __init__.py module in the
> curses directory expects to import "_curses" (as it does on Linux), and
> this is nowhere to be found in the Windows python install directory (it
> is part of a shared library under Linux).
> 
> To get around the problem, I simply commented out the entire __init__.py
> module, but this provides only symptomatic relief.
> 
> Any readers know why the "_curses" library is missing, or in other
> words, have I found an "error of omission"?
> 

http://www.amk.ca/python/howto/curses/

"Nobody has made a Windows port" or words to that effect ...



More information about the Python-win32 mailing list