Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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.066 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'executable': 0.07; 'cc:addr:python-list': 0.09; 'statements': 0.09; 'python': 0.10; 'importing': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'namespace.': 0.16; 'need,': 0.16; 'wrote:': 0.16; 'module,': 0.18; 'switched': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; "aren't": 0.22; 'am,': 0.23; 'bigger': 0.23; "haven't": 0.24; 'import': 0.24; 'header:In-Reply- To:1': 0.24; 'module': 0.25; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.27; 'objects': 0.29; "i'm": 0.30; 'though.': 0.33; 'file': 0.34; 'worked': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'too': 0.36; 'there': 0.36; 'created': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; '12,': 0.37; 'names': 0.38; 'files': 0.38; 'rather': 0.39; 'still': 0.40; 'waiting': 0.60; 'john': 0.61; 'entire': 0.61; 'back': 0.62; 'saturday,': 0.63; 'necessarily': 0.63; 'cut': 0.67; 'jul': 0.72; 'choices,': 0.84; 'chrisa': 0.84; 'impatient': 0.84; 'phoenix': 0.84; 'pyqt.': 0.84; 'utc-7,': 0.84; 'to:none': 0.91 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:content-transfer-encoding; bh=kZM8DCg0vBfiHbuX5CjEsbuNpMJzXBV7uoieUgDRjGs=; b=FKDukG2Brlk1uMCutLX2G26dr3eWE/AlnKpXyco5XxNqEIwUsp25hem5zTnTzOmD8M d71jWKSW82dhqSo+7OMbPYgn4fOh7poI15aRZwarqwj4sGzq+nVYUSW0rbjwg5cCHX6Q jLipJjdOf8RHRfOj0fCUy98zw0cprhyFj/Xy3LXKQUvYld+elKnW6+BVFqjnjWplFN84 kKF3XaaLaj3VtUEVaPBTINH+ExDGrQQomUNrL8rzmbD6+OYHquLWWFHgG5Oojb0Aox0H vxbyUFoLlgZpm4zlPs3YtL5I/o3rD9uxIp4Dx8DSQqvYhMmZp11NUR5T/rnhNVi64R0q zVXQ== MIME-Version: 1.0 X-Received: by 10.107.165.142 with SMTP id o136mr11915200ioe.120.1436636360176; Sat, 11 Jul 2015 10:39:20 -0700 (PDT) In-Reply-To: References: Date: Sun, 12 Jul 2015 03:39:20 +1000 Subject: Re: beginners choice: wx or tk? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436636362 news.xs4all.nl 2938 [2001:888:2000:d::a6]:53738 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93699 On Sun, Jul 12, 2015 at 3:25 AM, John Ladasky wrote: > On Saturday, July 11, 2015 at 2:51:32 AM UTC-7, Ulli Horlacher wrote: >> Chris Angelico wrote: >> > There are other choices, too - pygtk/pygobject (GTK) and pyqt (Qt) >> > come to mind >> >> Both create BIG executables, much bigger than with wx or tk. > > I worked with wxPython back when I was using Python 2. I got impatient w= aiting for Phoenix when I switched to Python 3, so I started using PyQt as = my GUI. > > I'm happy with PyQt. I haven't created standalone executable files with = it, though. Do they necessarily have to be large? I would think that well= -written import statements would cut down on the file size. Just import th= e objects you need, rather than the whole namespace. PyQt is even organize= d in sub-modules, apparently to encourage you to refrain from importing eve= rything. > If there are submodules that you aren't importing, then it's possible they don't need to be included. But if you just import a few names from a module, you still need the entire module to be included. ChrisA