Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!newsfeed-00.mathworks.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: I look for a package to make some simple console "form" Date: Mon, 2 Apr 2012 14:45:32 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 48 Message-ID: References: <4F79AFA8.2090409@sequans.com> NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1333377932 24935 64.122.56.22 (2 Apr 2012 14:45:32 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 2 Apr 2012 14:45:32 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux) Xref: csiph.com comp.lang.python:22470 On 2012-04-02, St?phane Klein 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