Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'python': 0.10; 'python.': 0.11; 'bindings.': 0.16; 'bugs,': 0.16; 'drag': 0.16; 'executable,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'iirc': 0.16; 'imo.': 0.16; 'personally,': 0.16; 'received:mail-ig0-x22a.google.com': 0.16; 'wrote:': 0.16; 'library,': 0.18; 'gui': 0.18; 'library': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'tkinter': 0.22; 'sat,': 0.23; 'third-party': 0.23; 'header:In- Reply-To:1': 0.24; 'url:download': 0.24; "doesn't": 0.26; 'linux': 0.26; 'least': 0.27; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'perl': 0.29; 'another': 0.32; 'run': 0.33; 'usually': 0.33; 'limitations': 0.33; 'windows.': 0.33; 'add': 0.34; 'received:google.com': 0.35; 'on,': 0.35; 'quite': 0.35; 'level': 0.35; 'but': 0.36; 'too': 0.36; 'project': 0.36; 'there': 0.36; 'created': 0.36; 'depends': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'itself': 0.38; 'means': 0.39; 'sure': 0.39; 'some': 0.40; 'your': 0.60; 'personally': 0.61; 'url:png': 0.64; 'wanting': 0.66; 'potentially': 0.67; 'jul': 0.72; 'increase': 0.73; 'choices,': 0.84; 'chrisa': 0.84; 'complication': 0.84; 'gtk,': 0.84; 'pyqt.': 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; bh=y4UM6PieWN30BwQHa6JsH9rje5LpLkLSSkw42LNVGWE=; b=MbvgMBzlrnex7Hejp/mmbAy3pt97pA/6hST41Ho+2pfK98Ns15Wg9idv24cOmmQF/w eqPKHu1jT+GFCkBK4CSVk6zTOaFGHVS/uGCgVLepCfEuZLOyqyTJ8fn5XXgomPEp902X QICMENP1fiyDu21+FOIa4YXP3JUILcdm1ctGo4GORGF1lZjiHSE1KMUk7YXzuK3xSHmN 5zQB8EkmM3g3fFqp9+T5tHvXTpU9+YrpsBodR6e4ZjFgFmE0LdIlgjKwbZ/ZCQe4yd2Y 8ZPI9GKH73zCABzrET6LI5iYwzBQ0gAfnLvdx2sJicyhpAnxsTWvoPJ1goCAkBozuMAK qIBg== MIME-Version: 1.0 X-Received: by 10.107.9.142 with SMTP id 14mr10561078ioj.142.1436607339456; Sat, 11 Jul 2015 02:35:39 -0700 (PDT) In-Reply-To: References: Date: Sat, 11 Jul 2015 19:35:39 +1000 Subject: Re: beginners choice: wx or tk? 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.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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436607347 news.xs4all.nl 2894 [2001:888:2000:d::a6]:44223 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93666 On Sat, Jul 11, 2015 at 7:28 PM, Ulli Horlacher wrote: > I want to start a project with python. > The program must have a (simple) GUI and must run on Linux and Windows. > The last one as standalone executable, created with pyinstaller. Not sure what your advantage is with pyinstaller, it adds a level of complication that doesn't usually justify itself IMO. > I have already an implementation in perl/tk : > http://fex.rus.uni-stuttgart.de/fop/ZAcXSugp/schwuppdiwupp.png > http://fex.belwue.de/download/schwuppdiwupp.pl > > I am not really happy with tk, because it has some bugs, at least its perl > integration. I have never used wx. > > What is the recommendation for a python beginner: wx or tk? Using wxPython means you need another library, while tkinter comes with Python. There are some limitations to tk, and I personally don't like its style, but if you're wanting to package it up into an EXE, every third-party library you add will increase the size of that EXE, potentially quite significantly (wxPython will drag in everything that it depends on, which IIRC is quite a bit). There are other choices, too - pygtk/pygobject (GTK) and pyqt (Qt) come to mind - is there a particular reason you're limiting the question to just wx vs tk? Personally, I quite like GTK, but I don't have much experience with either of the Python bindings. Never used wxPython or PyQt. ChrisA