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


Groups > comp.lang.python > #77817

Re: very lightweight gui for win32 + python 3.4

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'importerror:': 0.07; 'subject: + ': 0.07; 'tkinter': 0.07; 'lawrence': 0.09; 'msi': 0.09; 'wrong,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; '"idle"': 0.16; '"python"': 0.16; '42,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'importerror,': 0.16; 'luck,': 0.16; 'subject:gui': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'module': 0.19; '>>>': 0.22; 'import': 0.22; 'aug': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; "shouldn't": 0.24; 'cc:2**0': 0.24; 'skip:" 30': 0.26; 'downloaded': 0.26; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'raise': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '"",': 0.31; '13,': 0.31; 'option.': 0.31; 'sep': 0.31; 'though.': 0.31; 'file': 0.32; '(most': 0.33; 'minimal': 0.33; "i'd": 0.34; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'idle': 0.36; 'possible': 0.36; 'recent': 0.39; 'sure': 0.39; 'how': 0.40; 'even': 0.60; 'most': 0.60; 'more': 0.64; 'kept': 0.65; 'believe': 0.68; 'therefore': 0.72; 'obvious': 0.74; '2014,': 0.84; 'safety.': 0.84; 'absolutely': 0.87; 'subject:very': 0.91; 'to:none': 0.92
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=bZEtHIF1yi/1YaIZJfwnp3QoGhdwsyiEXweYmrFJ6oY=; b=BEVrka0Z9H7ug+LKzzY6mBInszSU+iN9Cgs1v6XUs9UI26vuc6Pno92SqcHj7ymKmI lgMHztMxKIo74sqBe0W9O1QW49sHSL0p1DFVNB/O02ERrb+/6f+HwnIvJkmpNMVUAcF4 R250JZZM860F/xwmiZjXYx8X3Ln9GSobHMBarMHietbW2o2o3qSaoAQM3OvWTJZqN5RT IUlWcZAEEZgu6TugA8UzhMhIUpjw/ARMVq1SvxKmZ/9UpyoI075XewmCMJmHY0sGjCgc DNZkKRcM8Ocj8viaemB3JRaPnWyINYUscXQPxBZ9XEBTVAc3Lwt9yA2MI9CCC+a/pCoV w6gw==
MIME-Version 1.0
X-Received by 10.50.176.202 with SMTP id ck10mr4200513igc.2.1410542760111; Fri, 12 Sep 2014 10:26:00 -0700 (PDT)
In-Reply-To <luv9a6$p65$1@ger.gmane.org>
References <541320D4.5030800@shopzeus.com> <CAPTjJmrWukpGymi0KWJJRkEVDPN_bs6iQVg7amQU7LH7NGLFww@mail.gmail.com> <luv9a6$p65$1@ger.gmane.org>
Date Sat, 13 Sep 2014 03:26:00 +1000
Subject Re: very lightweight gui for win32 + python 3.4
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.15
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.13979.1410542763.18130.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1410542763 news.xs4all.nl 2838 [2001:888:2000:d::a6]:54936
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77817

Show key headers only | View raw


On Sat, Sep 13, 2014 at 3:08 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
>> There's absolutely no reason to go Windows-specific. Use Tkinter -
>> it's pretty light-weight. Comes with most Python distros. See how it
>> goes in terms of code size - if it's unsuitable, then look at others,
>> but start with the obvious option.
>>
>> ChrisA
>>
>
> As IDLE comes with all Python distros shouldn't the same apply to tkinter as
> that's what IDLE is based around?

It doesn't, though. It comes with most. It's perfectly possible to
have a minimal Python with no Tkinter and therefore no Idle; on my
Debian systems, there's a separate "python-tk" package on which "idle"
depends, but "python" doesn't.

rosuav@dewey:~$ python
Python 2.7.8 (default, Aug 18 2014, 10:01:58)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>
    raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package

I believe Tkinter and Idle come with all Windows MSI installers
downloaded from python.org, but I can't state even that with
certainty, so I just kept it to "most" for safety. If I'd said "all",
I'm pretty sure something would have proven me wrong, and knowing my
luck, it would have been the OP's system :)

ChrisA

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


Thread

Re: very lightweight gui for win32 + python 3.4 Chris Angelico <rosuav@gmail.com> - 2014-09-13 03:26 +1000

csiph-web