Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93671

Re: beginners choice: wx or tk?

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 <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'binary': 0.05; 'cpython': 0.05; 'works.': 0.07; 'cc:addr:python-list': 0.09; 'fetch': 0.09; 'interpreter,': 0.09; 'yeah,': 0.09; 'python': 0.10; 'python.': 0.11; '.py': 0.16; '64-bit,': 0.16; '7:51': 0.16; 'executable,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'happily': 0.16; 'imo.': 0.16; 'libraries),': 0.16; 'pyinstaller': 0.16; 'received:mail- ig0-x22a.google.com': 0.16; 'wrote:': 0.16; 'instance,': 0.18; 'library,': 0.18; 'version.': 0.18; 'gui': 0.18; 'versions': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'fix': 0.21; 'tkinter': 0.22; 'ease': 0.23; 'sat,': 0.23; 'header:In- Reply-To:1': 0.24; 'install': 0.25; "doesn't": 0.26; 'installed': 0.26; 'linux': 0.26; 'chris': 0.26; 'distribute': 0.27; 'message- id:@mail.gmail.com': 0.27; 'then.': 0.27; 'installed,': 0.29; 'allows': 0.30; 'code': 0.30; 'normally': 0.30; "i'd": 0.31; 'supposed': 0.31; 'everyone': 0.31; 'another': 0.32; 'possibly': 0.32; "who's": 0.32; 'maybe': 0.33; 'run': 0.33; 'point': 0.33; 'usually': 0.33; 'builds': 0.33; 'windows.': 0.33; 'quickly': 0.34; 'file': 0.34; 'received:google.com': 0.35; 'python.org': 0.35; 'done': 0.35; 'happened': 0.35; 'something': 0.35; 'level': 0.35; 'but': 0.36; 'project': 0.36; 'there': 0.36; 'created': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'release': 0.37; 'itself': 0.38; 'version': 0.38; 'wrong': 0.38; 'building': 0.38; 'someone': 0.38; 'files': 0.38; 'means': 0.39; 'sure': 0.39; 'whatever': 0.39; 'does': 0.39; 'still': 0.40; 'your': 0.60; 'entire': 0.61; 'different': 0.63; 'latest': 0.64; 'jul': 0.72; 'click': 0.76; '"just': 0.84; '(they': 0.84; 'chrisa': 0.84; 'complication': 0.84; 'discovers': 0.84; 'downloads;': 0.84; 'etc),': 0.84; 'flaw': 0.84; 'whopping': 0.84; 'to:none': 0.91; 'instantly': 0.93
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=sKikjigXjGiBsjDMPrDEvcgS9/65t3e61oRvXyuYEk0=; b=lQt7vGVFxRSrsUxwWpCcnEur43IjC4nwitTxN9j4b4fO/r1MKFIfJB+wYPE+Y3HFXV SZbtTdGd2u8PtY7NJPilR63V0zv99ErZPM/xiXBcXosh2YwX35NuFyAKRDDm/aecPxP1 irNhUm8kabtpAR8XYe9zvCZs+/Or1M98TET2L9RUZ5IiHLixVl+22NFPpHy+X3pAxb/T DMdMedBkaH/C0TPdnP2tzWrEh1vh8RPajSNKNpZQQXKScsBMV3GUkPVby5faVtAGNFnJ SchMvZlaH0NjJnEaf0fF3XNpoCq8ZM4PoS5fN3ecc3IXEDkTGB+7ucaLzSPJOdnOni1n fMxg==
MIME-Version 1.0
X-Received by 10.107.159.66 with SMTP id i63mr38415468ioe.68.1436610059288; Sat, 11 Jul 2015 03:20:59 -0700 (PDT)
In-Reply-To <mnqouo$e1s$1@news2.informatik.uni-stuttgart.de>
References <mnqnkb$dej$1@news2.informatik.uni-stuttgart.de> <mailman.412.1436607347.3674.python-list@python.org> <mnqouo$e1s$1@news2.informatik.uni-stuttgart.de>
Date Sat, 11 Jul 2015 20:20:59 +1000
Subject Re: beginners choice: wx or tk?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.415.1436610061.3674.python-list@python.org> (permalink)
Lines 51
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1436610061 news.xs4all.nl 2843 [2001:888:2000:d::a6]:34858
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93671

Show key headers only | View raw


On Sat, Jul 11, 2015 at 7:51 PM, Ulli Horlacher
<framstag@rus.uni-stuttgart.de> wrote:
> Chris Angelico <rosuav@gmail.com> wrote:
>
>> On Sat, Jul 11, 2015 at 7:28 PM, Ulli Horlacher
>> <framstag@rus.uni-stuttgart.de> 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 am not addicted to pyinstaller. It just works.
> Do you have a better alternative?
>
>
>> Using wxPython means you need another library, while tkinter comes
>> with Python.
>
> pyinstaller can make a standalone executable, there is no need for the
> users to install "another library". They just click on the program icon,
> that's it.

Yeah, I'd distribute the .py files and have done with it. Maybe do it
up as a package and distribute it via pip, which allows you to fetch
dependencies automatically. The supposed ease of "just click on the
program icon" is all very well, but it means you have to have a
whopping new download any time there's an update to your code (they
have to redownload the entire binary even if you're using the same
Python and the same libraries), and you have to distribute a whole
bunch of different versions (32-bit vs 64-bit, possibly different
builds for different Windowses, etc), and deal with the support issues
from people who grabbed the wrong one. Once Python itself has been
installed, users can still normally "just click on the program icon"
even though it's a .py file - that's the whole point of file
associations. And then their installed Python can be updated by the
normal mechanisms, and your code will happily run on the new version.
Suppose, for instance, that your program does something over HTTPS,
and people are using it in a critical environment... and then someone
discovers a flaw in OpenSSL, which has happened now and then. A bugfix
release of CPython will fix that instantly for everyone who's using
the standard python.org downloads; but if you've packaged up your own
Python, it'll be frozen at whatever version you had when you built
that - which might not even be the latest available at the time. How
quickly will you get around to building new installers?

Much better to distribute Python code without an interpreter, and let
people get their own interpreters.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-11 09:28 +0000
  Re: beginners choice: wx or tk? Chris Angelico <rosuav@gmail.com> - 2015-07-11 19:35 +1000
    Re: beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-11 09:51 +0000
      Re: beginners choice: wx or tk? Chris Angelico <rosuav@gmail.com> - 2015-07-11 20:20 +1000
        Re: beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-11 22:42 +0000
          Re: beginners choice: wx or tk? Paul Rubin <no.email@nospam.invalid> - 2015-07-11 15:50 -0700
            Re: beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-11 23:04 +0000
              Re: beginners choice: wx or tk? Paul Rubin <no.email@nospam.invalid> - 2015-07-11 16:10 -0700
                Re: beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-11 23:55 +0000
                Re: beginners choice: wx or tk? Paul Rubin <no.email@nospam.invalid> - 2015-07-11 21:34 -0700
                Re: beginners choice: wx or tk? Ian Kelly <ian.g.kelly@gmail.com> - 2015-07-11 17:59 -0600
            Re: beginners choice: wx or tk? Laura Creighton <lac@openend.se> - 2015-07-12 12:00 +0200
              Re: beginners choice: wx or tk? wxjmfauth@gmail.com - 2015-07-13 05:32 -0700
      Re: beginners choice: wx or tk? John Ladasky <john_ladasky@sbcglobal.net> - 2015-07-11 10:25 -0700
        Re: beginners choice: wx or tk? Chris Angelico <rosuav@gmail.com> - 2015-07-12 03:39 +1000
        Re: beginners choice: wx or tk? Michael Torrie <torriem@gmail.com> - 2015-07-11 14:16 -0600
      Re: beginners choice: wx or tk? Jugurtha Hadjar <jugurtha.hadjar@gmail.com> - 2015-07-12 01:54 +0100
    Re: beginners choice: wx or tk? Grant Edwards <invalid@invalid.invalid> - 2015-07-13 14:42 +0000
      Re: beginners choice: wx or tk? Michael Torrie <torriem@gmail.com> - 2015-07-13 20:16 -0600
        Re: beginners choice: wx or tk? wxjmfauth@gmail.com - 2015-07-14 00:45 -0700
        Re: beginners choice: wx or tk? Grant Edwards <invalid@invalid.invalid> - 2015-07-14 14:06 +0000
          Re: beginners choice: wx or tk? Michael Torrie <torriem@gmail.com> - 2015-07-14 09:21 -0600
          Re: beginners choice: wx or tk? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-14 16:43 +0100
            Re: beginners choice: wx or tk? Steven D'Aprano <steve@pearwood.info> - 2015-07-15 02:53 +1000
            Re: beginners choice: wx or tk? Grant Edwards <invalid@invalid.invalid> - 2015-07-14 17:28 +0000
              Re: beginners choice: wx or tk? Chris Angelico <rosuav@gmail.com> - 2015-07-15 03:43 +1000
                Re: beginners choice: wx or tk? Grant Edwards <invalid@invalid.invalid> - 2015-07-14 18:28 +0000
          Re: beginners choice: wx or tk? Terry Reedy <tjreedy@udel.edu> - 2015-07-14 15:27 -0400
      Re: beginners choice: wx or tk? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-14 08:39 +0100
        Re: beginners choice: wx or tk? wxjmfauth@gmail.com - 2015-07-14 06:05 -0700
  Re: beginners choice: wx or tk? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-11 11:01 +0100
  Re: beginners choice: wx or tk? Christian Gollwitzer <auriocus@gmx.de> - 2015-07-11 12:19 +0200
    Re: beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-11 16:04 +0000
      Re: beginners choice: wx or tk? nickgeovanis@gmail.com - 2015-07-11 09:26 -0700
  Re: beginners choice: wx or tk? Laura Creighton <lac@openend.se> - 2015-07-11 13:27 +0200
    Re: beginners choice: wx or tk? Christian Gollwitzer <auriocus@gmx.de> - 2015-07-11 13:56 +0200
      Re: beginners choice: wx or tk? Laura Creighton <lac@openend.se> - 2015-07-11 16:48 +0200
        Re: beginners choice: wx or tk? Kevin Walzer <kw@codebykevin.com> - 2015-07-11 21:29 -0400
          Re: beginners choice: wx or tk? Ned Deily <nad@acm.org> - 2015-07-11 22:01 -0700
            Re: beginners choice: wx or tk? wxjmfauth@gmail.com - 2015-07-12 00:42 -0700
              Re: beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-12 07:55 +0000
                Re: beginners choice: wx or tk? Christian Gollwitzer <auriocus@gmx.de> - 2015-07-12 10:00 +0200
                Re: beginners choice: wx or tk? Chris Angelico <rosuav@gmail.com> - 2015-07-12 18:54 +1000
                Re: beginners choice: wx or tk? wxjmfauth@gmail.com - 2015-07-12 03:15 -0700
    Re: beginners choice: wx or tk? Ned Deily <nad@acm.org> - 2015-07-11 08:09 -0700
    Re: beginners choice: wx or tk? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-07-11 16:01 +0000
      Re: beginners choice: wx or tk? Laura Creighton <lac@openend.se> - 2015-07-11 19:37 +0200
      Re: beginners choice: wx or tk? Laura Creighton <lac@openend.se> - 2015-07-11 19:55 +0200
  Re: beginners choice: wx or tk? Ian Kelly <ian.g.kelly@gmail.com> - 2015-07-11 10:33 -0600

csiph-web