> 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 ...
Actually, I just found this.... but I've never tried it http://adamv.com/dev/python/curses/ but I believe John is partial right ;-), in the sense that, the Standard Python distribution doesn't supply curses for Windows. So you have *not* found an "error of omission". Google "Windows _curses" on comp.lang.python for more info and other possibilities. Bill _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32