Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'transform': 0.07; 'python': 0.08; 'instance.': 0.09; 'interfaces': 0.12; 'gui': 0.13; 'anyone?': 0.16; 'clear.': 0.16; 'cygwin,': 0.16; 'input.': 0.16; 'osx': 0.16; 'received:mindspring.com': 0.16; 'subject:GUI': 0.16; 'thick': 0.16; 'tkinter,': 0.16; 'x-mailer:apple mail (2.1084)': 0.16; 'yup,': 0.16; 'this:': 0.16; 'wrote:': 0.16; "wouldn't": 0.17; 'linux': 0.17; '>>>': 0.18; 'bonus': 0.21; 'maybe': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'apache': 0.23; 'cheers': 0.23; 'interface': 0.23; '(or': 0.23; "user's": 0.23; 'pm,': 0.24; 'aug': 0.24; 'code': 0.25; 'code.': 0.26; 'windows': 0.26; "i'm": 0.27; 'skip:_ 20': 0.28; 'framework': 0.28; 'url:mailman': 0.28; 'server': 0.29; 'looks': 0.29; 'environment.': 0.30; 'installation': 0.30; 'subject:?': 0.31; 'seem': 0.31; 'skip:- 70': 0.31; 'received:24': 0.32; 'this.': 0.32; 'actually': 0.33; 'probably': 0.33; 'there': 0.33; 'to:addr:python-list': 0.33; 'url:listinfo': 0.33; '...': 0.34; 'describe': 0.34; 'idea': 0.34; 'curious': 0.34; 'like:': 0.34; 'options:': 0.34; 'pretty': 0.35; 'similar': 0.35; 'running': 0.35; 'record': 0.35; 'charset:us-ascii': 0.36; 'connection': 0.36; 'file': 0.36; 'url:python': 0.36; 'model': 0.37; 'run': 0.37; 'but': 0.37; 'page': 0.37; 'something': 0.37; 'presentation': 0.38; 'some': 0.38; 'url:org': 0.38; 'should': 0.38; 'subject:: ': 0.39; 'option': 0.39; 'header:Mime-Version:1': 0.39; 'basic': 0.39; 'missing': 0.39; 'selection': 0.39; 'to:addr:python.org': 0.39; "i'd": 0.40; 'might': 0.40; 'where': 0.40; 'more': 0.60; 'your': 0.61; 'browser': 0.61; 'basis': 0.61; 'kind': 0.61; 'results': 0.61; 'header:Message-Id:1': 0.61; 'central': 0.62; 'services': 0.62; 'full': 0.63; 'further': 0.64; 'act': 0.65; 'grab': 0.66; 'client?': 0.84; 'hook': 0.84; 'me;': 0.84; 'received:69.73': 0.84; 'something.': 0.84; 'thereafter,': 0.84; 'locally': 0.91 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Table Driven GUI Definition? From: Philip Semanchuk In-Reply-To: Date: Fri, 5 Aug 2011 16:42:30 -0400 Content-Transfer-Encoding: quoted-printable References: <4e3c3eee$0$23931$e4fe514c@news2.news.xs4all.nl> To: Lista-Comp-Lang-Python list X-Mailer: Apple Mail (2.1084) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - deimos.nocdirect.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - semanchuk.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 70 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312576961 news.xs4all.nl 23944 [2001:888:2000:d::a6]:41297 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10930 On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote: > On 8/5/2011 2:05 PM, Irmen de Jong said this: >> On 05-08-11 19:53, Tim Daneliuk wrote: >>> I have a task where I want to create pretty simple one page visual >>> interfaces (Graphical or Text, but it needs to run across Windows, >>> Cygwin, Linux,*BSD, OSX ...). These interfaces are nothing more >>> than option checklists and text fields. Conceptually something = like: >>>=20 >>> Please Select Your Installation Options: >>>=20 >>> Windows Compatibility Services _ >>> Linux Compatibility Services _ >>> TRS-DOS Compatibility Services _ >>>=20 >>> What Is Your email Address: _______________________ >>>=20 >>> What I'm looking for is a way to describe such forms in a text >>> file that can then be fed into a tool to generate the necessary >>> pyGUI, Tkinter, (or whatever) code. The idea is that it should >>> be simple to generate a basic interface like this and have it >>> only record the user's input. Thereafter, the python code >>> would act on the basis of those selection without any further >>> connection to the GUI. >>>=20 >>> An added bonus would be a similar kind of thing for generating >>> web interfaces to do this. This might actually be a better model >>> because then I only have to worry about a single presentation >>> environment. >>>=20 >>> Ideas anyone? Hi Tim This looks pretty straightforward to me; maybe I'm missing something. It = doesn't look trivial, but the steps seem pretty clear. Is there some = part in particular that's giving you trouble? Cheers Philip >>=20 >> Yeah, HTML being the text file and a web browser being the tool to = transform it into a GUI... >>=20 >> You can hook this up with a simple web server or web framework = running locally to grab the submitted form results when the form is = complete and process them in a piece of python code. >>=20 >> Wouldn't that work? >>=20 >>=20 >> Irmen >=20 > Yup, although I'd probably use a central apache instance. But > I'm still curious ... is there a way to do this with a full > GUI tool on a thick client? >=20 >=20 > --=20 > = ------------------------------------------------------------------------ > Tim Daneliuk > tundra@tundraware.com > --=20 > http://mail.python.org/mailman/listinfo/python-list