Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22470

Re: I look for a package to make some simple console "form"

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: I look for a package to make some simple console "form"
Date 2012-04-02 14:45 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <jlce2c$ob7$1@reader1.panix.com> (permalink)
References <jlc7k2$5l5$1@dough.gmane.org> <4F79AFA8.2090409@sequans.com> <mailman.1217.1333377347.3037.python-list@python.org>

Show all headers | View raw


On 2012-04-02, St?phane Klein <stephane@harobed.org> wrote:
> Le 02/04/2012 15:54, Jean-Michel Pichavant a ?crit :
>> St?phane Klein wrote:
>>>
>>> I look for a package to make some console "form".
>>>
>>> It's a standard stuff, I think there are a package to do that.
>>>
>>> Example :
>>>
>>> What is your name ?
>>> Select your lang [EN, FR, DE?] ?
>>> Do you want ? [Y, N] ?
>>>
>>> Type of field :
>>>
>>> * textline
>>> * select choice
>>> * boolean question
>>
>> Have a look at
>> http://excess.org/urwid/
>
> No, I don't look for high level feature based on ncurse?

For something simpler, your two best options are dialog and newt:

 http://pythondialog.sourceforge.net/

 https://en.wikipedia.org/wiki/Newt_%28programming_library%29
 https://hurley.wordpress.com/2008/01/25/create-simple-ansi-based-ui-with-python-newt/
 http://www.wanware.com/tsgdocs/snack.html

I'm rather partial to newt since it was intended from day 1 for use
with Python. It was written by RedHat many, many years ago for use in
their console-mode-installer (which was written in Python).

But, the docs are pretty sparse, and it's not very active these days.

> I would like very low level feature, form like sphinx quick start or 
> modern-package-template?

Sorry, no clue what those are...

-- 
Grant Edwards               grant.b.edwards        Yow! Did I do an INCORRECT
                                  at               THING??
                              gmail.com            

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: I look for a package to make some simple console "form" Stéphane Klein <stephane@harobed.org> - 2012-04-02 16:35 +0200
  Re: I look for a package to make some simple console "form" Grant Edwards <invalid@invalid.invalid> - 2012-04-02 14:45 +0000

csiph-web