Dennis Lee Bieber
2/26/2008 7:11:00 PM
On Tue, 26 Feb 2008 09:15:02 -0800, Jeff Schwab <jeff@schwabcenter.com>
declaimed the following in comp.lang.python:
> The Python module docs claim to support DOS without any kind of
> extension. I don't know how well (or whether) it works with new
> versions of Windows.
Command shell on WinXP:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Dennis Lee Bieber>python
ActivePython 2.4.3 Build 12 (ActiveState Software Inc.) based on
Python 2.4.3 (#69, Apr 11 2006, 15:32:42) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "E:\Python24\lib\curses\__init__.py", line 15, in ?
from _curses import *
ImportError: No module named _curses
>>>
From the help file:
"""
While curses is most widely used in the Unix environment, versions are
available for DOS, OS/2, and possibly other systems as well. This
extension module is designed to match the API of ncurses, an open-source
curses library hosted on Linux and the BSD variants of Unix.
"""
My interpretation is: third party for anything that doesn't have
ncurses as a regular feature...
--
Wulfraed Dennis Lee Bieber KD6MOG
wlfraed@ix.netcom.com wulfraed@bestiaria.com
HTTP://wlfraed.home.netcom.com/
(Bestiaria Support Staff: web-asst@bestiaria.com)
HTTP://www.bestiaria.com/