Path: csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; '16,': 0.03; 'interpreter': 0.05; 'binary': 0.07; 'interpreter.': 0.07; '*is*': 0.09; 'yeah,': 0.09; 'runs': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'gui': 0.12; 'language,': 0.12; '(written': 0.16; 'feeding': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'pygtk,': 0.16; 'subject: \n ': 0.16; 'subject:GUI': 0.16; 'subject:programming': 0.16; 'tcl': 0.16; 'subject:python': 0.16; 'do,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; 'passing': 0.19; 'saying': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'am,': 0.29; 'dec': 0.30; 'subject:please': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'usually': 0.31; 'calculated': 0.31; "d'aprano": 0.31; 'minor': 0.31; 'steven': 0.31; 'running': 0.33; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'process,': 0.38; 'bad': 0.39; 'even': 0.60; 'different': 0.65; 'between': 0.67; 'stated': 0.69; 'subject:want': 0.91; 'to:none': 0.92; 'subject:answer': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=fqNSBkIL5/S6qAcs5TdfAVdhLPP7Xs4Ih73sPHjBiGA=; b=nfgW3VsMXdviZPLRKHDZniMQw3h6Uycy1C3IPd6FzqWlWfyF7T9u89w2y/x+78CXOi WeH6KYCEKtp4L3LEAJuc2VzdcTfgts1gKgxji8UtgBTIQxjBfnhVOJcnyzjRg/AZswg+ OUMYzYe8SqJSUuZyIe8SS1oj1huT4BiUor1DJ8pxixaW0/5BpVdXpLbVwqQZbrVkn+j5 D5jmwFB3GGlOCOOB52quDdbZ7fY/lSb4WcLxPEOT0CD/C/SDe3rIhdr/AWW+C6WylCrl u//Apy1Rq7r6HgJ/WNeohOC/IYi2tIERUgr1Br1cahFCMFx6eY8kr95HfctIdH+n9xUW XNJQ== MIME-Version: 1.0 X-Received: by 10.68.189.34 with SMTP id gf2mr16212836pbc.91.1387145169512; Sun, 15 Dec 2013 14:06:09 -0800 (PST) In-Reply-To: <52ade081$0$29976$c3e8da3$5496439d@news.astraweb.com> References: <9f5d28ce-504d-40db-baa2-ff3699ab05c7@googlegroups.com> <20131214180549.59e9831a6faf098b754ea00a@gmx.net> <52ace2c0$0$29992$c3e8da3$5496439d@news.astraweb.com> <52ade081$0$29976$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 16 Dec 2013 09:06:09 +1100 Subject: Re: GUI:-please answer want to learn GUI programming in python , how should i proceed. From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387145178 news.xs4all.nl 2931 [2001:888:2000:d::a6]:52113 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61967 On Mon, Dec 16, 2013 at 4:01 AM, Steven D'Aprano wrote: > As I stated earlier, this is just the Interpreter design pattern, with > the minor complication that the domain specific language happens to be an > existing language, Tcl, with an interpreter that usually runs in a > separate process, instead of some mini-language running inside Python. Yeah, but there's a difference between passing your GUI incantations on to a library function (written in C but now just part of a binary library) and feeding them to a completely different language interpreter. When I write something with PyGTK, I can't, even in theory, give it arbitrary C code to execute. From what I understand here, that *is* true of Tcl, which means that the Python download contains a Python interpreter and a Tcl interpreter. I'm not saying that's a bad thing to do, but it is calculated to provoke remark. ChrisA