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


Groups > comp.lang.python > #22469 > unrolled thread

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

Started byStéphane Klein <stephane@harobed.org>
First post2012-04-02 16:35 +0200
Last post2012-04-02 14:45 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromStéphane Klein <stephane@harobed.org>
Date2012-04-02 16:35 +0200
SubjectRe: I look for a package to make some simple console "form"
Message-ID<mailman.1217.1333377347.3037.python-list@python.org>
Le 02/04/2012 15:54, Jean-Michel Pichavant a écrit :
> Stéphane Klein wrote:
>> Hi,
>>
>> 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
>>
>> Thank for your help,
>> Stéphane
> Hi,
>
> Have a look at
> http://excess.org/urwid/
>

No, I don't look for high level feature based on ncurse…

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

Regards,
Stephane

-- 
Stéphane Klein <stephane@harobed.org>
blog: http://stephane-klein.info
Twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com

[toc] | [next] | [standalone]


#22470

FromGrant Edwards <invalid@invalid.invalid>
Date2012-04-02 14:45 +0000
Message-ID<jlce2c$ob7$1@reader1.panix.com>
In reply to#22469
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            

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web