Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'from:addr:yahoo.co.uk': 0.05; 'optional': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrong,': 0.09; 'python': 0.10; 'python.': 0.11; 'apps': 0.15; 'interpreter': 0.15; 'dlls': 0.16; 'liking,': 0.16; 'pythonic': 0.16; 'quirks': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'language': 0.19; '>>>': 0.20; 'library': 0.20; 'windows': 0.20; 'fairly': 0.22; 'lawrence': 0.22; 'libraries': 0.22; 'am,': 0.23; 'code,': 0.23; 'code.': 0.23; 'bit': 0.23; 'tried': 0.24; 'plain': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'point.': 0.27; 'supported': 0.27; 'separate': 0.27; 'idea': 0.28; 'looks': 0.29; 'perl': 0.29; 'respects': 0.29; 'tcl': 0.29; 'windows,': 0.29; "i'm": 0.30; 'code': 0.30; 'compared': 0.30; "i'd": 0.31; 'language.': 0.32; 'maybe': 0.33; 'run': 0.33; 'michael': 0.33; 'idle': 0.33; 'platforms.': 0.33; 'surely': 0.33; 'worked': 0.34; 'add': 0.34; 'c++': 0.35; 'replace': 0.35; 'but': 0.36; 'project': 0.36; 'there': 0.36; 'depends': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'missing': 0.37; 'thought': 0.37; 'why': 0.39; 'sure': 0.39; 'application': 0.39; "didn't": 0.39; 'well.': 0.40; 'to:addr:python.org': 0.40; 'mark': 0.40; 'some': 0.40; 'your': 0.60; 'close': 0.61; 'charset:windows-1252': 0.62; 'is.': 0.63; 'more': 0.63; 'great': 0.63; 'our': 0.64; 'believe': 0.66; 'gtk,': 0.84; 'pygtk': 0.84; 'pythonistas,': 0.84; 'qt.': 0.84; 'edwards': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: beginners choice: wx or tk? Date: Tue, 14 Jul 2015 16:43:46 +0100 References: <55A52915.8020909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-208-190.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <55A52915.8020909@gmail.com> 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: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436888648 news.xs4all.nl 2941 [2001:888:2000:d::a6]:60321 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93816 On 14/07/2015 16:21, Michael Torrie wrote: > On 07/14/2015 08:06 AM, Grant Edwards wrote: >> On 2015-07-14, Michael Torrie wrote: >>> On 07/13/2015 08:42 AM, Grant Edwards wrote: >>>> If it didn't have to run on Windows, I'd pick pygtk over wx. I've >>>> never tried qt. >>> >>> PyQt is very nice to work with. In some respects it's not as Pythonic >>> as PyGTK. It feels a lot like transliterated C++ code, which it is. >>> But it's a powerful toolkit and looks great on all supported platforms. >>> If the licensing terms of PyQt are not to your liking, PySide is fairly >>> close to PyQt (a few quirks that can be worked around), though I'm not >>> sure how much love it's receiving lately. Like wx, or Gtk, you would >>> have to ship some extra dlls with your project for Windows and OS X. >> >> Why would you have to ship "extra" libraries for Windows? Extra >> compared to what? When I compared bundled apps for Windows using wx >> and Tk, you had to ship more libraries using Tk than you did with wx. >> Maybe that's changed... > > You make a good point. Although Tk is considered part of the standard > Python library (though optional), Tk not only requires some dlls, it > also embeds the tcl language interpreter as well. So by some measures, > Tk in Python is pretty heavy, though I have no idea what the size it > would add to an application bundle actually is. I've always thought it > was a bit crazy how when you use Tk, you're actually using the Tcl > language as well, even though you're driving it all from Python. I > believe there were attempts to separate Tk from Tcl, and allow Perl/Tk > to replace all the Tcl code with Perl code. > Surely if Tk is optional then IDLE is also optional, as IDLE depends on Tk? But I thought that IDLE was always supplied with Python, so am I missing something, or am I simply plain wrong, or what? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence