portable text user interface

Grant Edwards grante at visi.com
Thu Dec 30 18:41:35 CET 2004

On 2004-12-30, Maxim Kasimov <kasimov at i.com.ua> wrote:

>>>yes i'm telneting (sshing), that is the reason why i'm looking
>>>for libs for making text interfaces. i know there is a project
>>>named "anakonda" - red hat linux installer, but it is uses
>>>specific C libs. i can use only python libs.
>> By "only python libs" do you mean only the stuff that's
>> included in the vanilla CPython distro?  If that's the case,
>> then curses is pretty much the only choice.  Last time I
>> looked, it didn't work on Windows.
>> I've used the snack module (which is what anaconda uses), and
>> it's very handy for simple text-based UIs.
> at ports (FreeBSD) i've found this:
>    Port:   snack-2.2.7
>    Path:   /usr/ports/audio/snack
>    Info:   A sound toolkit for scripting languages

Unfortunately there are two modules with the same name. The one
you found is a sound library.  

The other one is the Python wrapped version of the newt
library.  I've no idea why the Python newt module is called
"snack".  The new source code comes with the Python "snack"
module wrapper.

The most recent version I have handy is available at


There appear to be more recent versions available:

There's a rather outdated tutorial on using Newt v0.30 from C:


Newt requires the s-lang library:


Grant Edwards                   grante             Yow!  Imagine--a WORLD
                                  at               without POODLES...

More information about the Python-list mailing list