curses library

Jean-Paul Calderone exarkun at divmod.com
Tue Aug 14 15:44:31 EDT 2007


On Tue, 14 Aug 2007 21:45:51 +0300, Ghirai <ghirai at ghirai.com> wrote:
>On Tue, 14 Aug 2007 18:27:16 GMT
>Neil Cerutti <horpner at yahoo.com> wrote:
>
>> On 2007-08-14, Ghirai <ghirai at ghirai.com> wrote:
>> > I need to write a console application.
>> >
>> > Are there any wrappers around curses/ncurses?
>> > Or any other similar libraries?
>>
>> The answer depends on your chosen platform. Python hasn't got a
>> cross-platform console library as one of its included batteries.
>>
>> First try the curses module. It does come with Python on systems
>> with a curses port.
>>
>> For Windows, there's the Effbot's console module.
>> http://effbot.org/zone/console-index.htm
>>
>> Or go to plan B: Use a Tkinter or other GUI interface's text
>> widget.
>
>Forgot to say, i don't need it to work on windows :)

You might be interested in insults:

API docs:

  http://twistedmatrix.com/documents/current/api/twisted.conch.insults.html

Examples:

  http://twistedmatrix.com/projects/conch/documentation/examples/

Jean-Paul



More information about the Python-list mailing list