Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.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.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'python': 0.10; 'python.': 0.11; 'bugs,': 0.16; 'drag': 0.16; 'executable,': 0.16; 'iirc': 0.16; 'imo.': 0.16; 'numpy': 0.16; 'pyinstaller': 0.16; 'sqlalchemy': 0.16; 'wrote:': 0.16; 'library,': 0.18; 'gui': 0.18; 'library': 0.20; '2015': 0.20; 'tkinter': 0.22; 'am,': 0.23; 'sat,': 0.23; 'third-party': 0.23; 'header:In-Reply-To:1': 0.24; 'url:download': 0.24; "i've": 0.25; "doesn't": 0.26; 'linux': 0.26; 'chris': 0.26; 'least': 0.27; 'message-id:@mail.gmail.com': 0.27; 'matplotlib': 0.29; 'perl': 0.29; 'another': 0.32; 'run': 0.33; 'usually': 0.33; 'limitations': 0.33; 'windows.': 0.33; 'worked': 0.34; 'add': 0.34; 'received:google.com': 0.35; 'on,': 0.35; 'quite': 0.35; 'level': 0.35; 'but': 0.36; 'project': 0.36; 'there': 0.36; 'created': 0.36; 'depends': 0.36; 'to:addr:python- list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'itself': 0.38; 'means': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'personally': 0.61; 'total': 0.62; 'url:png': 0.64; 'past,': 0.66; 'wanting': 0.66; 'potentially': 0.67; 'jul': 0.72; 'increase': 0.73; 'complication': 0.84; 'to:name:python': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=+xUSUoVVF4ur5Nf3VbQvSamz6qJAm7M6PwT26IqHffA=; b=fpJmHFhhbF6CeaNbrHDhbeWj4iX6WAEWpf0Y2mRcl2tt+c1NUF2QI9F9U9BbYab3jU ADQwdaznFT7CAIlcy4e0knwvUXVDucIxmskv5FPQUbmWC/V2sqXDKzK1o4LPP6ptOh9d aoNLVtASQr4tl4rKXuSdP2K1cAvd8De5VdgE6WP2tL2JB62BUcIkGGXW//NiXhNTkvPY tNtXzG+5VoYFrstbqAlZJnURQA3Enrquo5z8fF/+Vr57zkKGfp1xbx3gm4OdCoORtpZD DJ9BoFdFgZX1SfsMlT7DNutGJMWdfq1Maf66UEVnQNAt+5VcGJ+mtCEhog1lpnEPL/75 9Hrg== X-Received: by 10.170.197.6 with SMTP id o6mr4158985yke.93.1436632475682; Sat, 11 Jul 2015 09:34:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Sat, 11 Jul 2015 10:33:56 -0600 Subject: Re: beginners choice: wx or tk? To: Python 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436632484 news.xs4all.nl 2871 [2001:888:2000:d::a6]:36492 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93695 On Sat, Jul 11, 2015 at 3:35 AM, Chris Angelico wrote: > 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). I've worked with wxPython + pyInstaller in the past, and IIRC the total size of those dependencies (roughly Python + wxPython + matplotlib + numpy + cx_Oracle + sqlalchemy + pywin32) clocked in at around 20 MB.