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


Groups > comp.lang.python > #46444

Re: How clean/elegant is Python's syntax?

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <damage3025@gmail.com>
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; 'open-source': 0.04; 'third-party': 0.04; 'yet.': 0.04; 'subject:Python': 0.06; 'tkinter': 0.07; 'observation': 0.09; 'toolkit': 0.09; 'subject:How': 0.10; 'python': 0.11; 'gui': 0.12; 'windows': 0.15; 'given,': 0.16; 'guess.': 0.16; 'people?': 0.16; 'replaced.': 0.16; 'tkinter.': 0.16; 'wxpython': 0.16; 'proprietary': 0.16; 'wrote:': 0.18; 'else,': 0.19; "python's": 0.19; 'thu,': 0.19; 'written': 0.21; 'seems': 0.21; 'example': 0.22; 'programming': 0.22; 'install': 0.23; "aren't": 0.24; 'choices': 0.24; 'cutting- edge': 0.24; 'library,': 0.24; 'source': 0.25; 'subject:/': 0.26; 'world,': 0.26; 'header:In-Reply-To:1': 0.27; 'external': 0.29; 'received:209.85.217': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'bad.': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'yourself.': 0.31; 'anyone': 0.31; 'quite': 0.32; 'open': 0.33; 'framework': 0.33; 'to:name:python-list': 0.33; 'knowledge': 0.35; "can't": 0.35; 'received:209.85': 0.35; 'something': 0.35; 'good.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'controls': 0.36; 'doubt': 0.36; 'idle': 0.36; 'library.': 0.36; 'reflect': 0.36; 'subject:?': 0.36; 'example,': 0.37; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'issue': 0.38; 'pm,': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'new': 0.61; 'discuss': 0.62; 'kind': 0.63; 'such': 0.63; 'more': 0.64; '30,': 0.65; 'sample': 0.67; 'bothered': 0.68; 'lack': 0.78; 'rubbish': 0.84; 'good,': 0.91; 'reasons,': 0.91; '2013': 0.98
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=ZL4w1YIXkTONDYtRVb1qhGdNrZ0pQ89DpFQ0BcZ6/Wo=; b=EpXOfPKSwx3Zztdl0O88iwOFOi4VV2ms+lLQ3h3oVfFVB6LLKFWqjSv0gb0KDm2y6M f9fm+bWk4666h/KOYxZQu9bRRw+7EqWmotM/gcnCq6Jon38+SaTIQ8Byshr04M/Ccv1D XYnRIbevUWWjHzuI4uw4FZp/HiDrPIDX1eTvX1fTr7Md8NOBoaWD2jfiFjdT1RVCnoOZ Y+L1zMgFflOTDI5HsICXlkqR9o3eC6qFyKTPRKfb2rVG7Slt1vsauDufBIrqdy36H4Q0 g30xSa5j0IbWZMLmmekG8AMP8Qpxm0nneOazW8P4g31GbIlnFonCmQDyetJSEvXK9bxq xBmw==
X-Received by 10.112.180.232 with SMTP id dr8mr3263098lbc.67.1369904074931; Thu, 30 May 2013 01:54:34 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <51a6ef42$0$11118$c3e8da3@news.astraweb.com>
References <CAGVx7UWXAFHSHq37Ep-Vk=cM2wYrEGHSUhNc8s43bCvj_VcVow@mail.gmail.com> <mailman.2374.1369852683.3114.python-list@python.org> <51a6ef42$0$11118$c3e8da3@news.astraweb.com>
From Ma Xiaojun <damage3025@gmail.com>
Date Thu, 30 May 2013 16:54:14 +0800
Subject Re: How clean/elegant is Python's syntax?
To python-list <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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2397.1369904083.3114.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369904083 news.xs4all.nl 15904 [2001:888:2000:d::a6]:46927
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:46444

Show key headers only | View raw


On Thu, May 30, 2013 at 2:18 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> Which people? "People" can discuss any rubbish they like. For many
> reasons, tkinter will not be replaced. For the standard library, it is a
> good, stable, powerful but not cutting-edge GUI library. If you don't
> like it, you can install a third-party framework like wxPython. Using
> tkinter is not compulsory.

I'm new to tkinter and find tkdocs.com seems quite good.
But tkdocs.com's Python code sample is in Python 3.
And wxPython doesn't support Python 3 yet.
( May not be big issue but it's kind of bad. )

I observation about tkinter is that it seems lack of sophisticated features.
For example, there is nothing like DataWindow in PowerBuilder?

Python's IDLE is written in tkinter.
But anyone willing to use IDLE is a successful example of tkinter?
I actually use Gedit more than PyDev, etc.
But the non-fancy state of IDLE does reflect something, I guess.

> In the case of VB and VFP, they aren't bothered by such issues because
> they're used to closed-source, proprietary programming where you use what
> you are given and like it. In the open-source world, if you don't like
> what you are given, you find something else, and if you can't find it,
> you make it yourself.

I doesn't mean that choices are bad. I just kind of doubt that whether
Python with a open source GUI toolkit can cover the features provided
by VB standard controls and some external Windows built-in controls.
I'm almost sure that tkinter lacks the features provided by
sophisticated controls.
I have limited knowledge to VFP.

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


Thread

Re: How clean/elegant is Python's syntax? Ma Xiaojun <damage3025@gmail.com> - 2013-05-30 02:37 +0800
  Re: How clean/elegant is Python's syntax? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-30 06:18 +0000
    Re: How clean/elegant is Python's syntax? Ma Xiaojun <damage3025@gmail.com> - 2013-05-30 16:54 +0800
      Re: How clean/elegant is Python's syntax? rusi <rustompmody@gmail.com> - 2013-05-30 10:12 -0700
        Re: How clean/elegant is Python's syntax? Chris Angelico <rosuav@gmail.com> - 2013-05-31 03:28 +1000
          Re: How clean/elegant is Python's syntax? rusi <rustompmody@gmail.com> - 2013-05-30 10:59 -0700
            Re: How clean/elegant is Python's syntax? Chris Angelico <rosuav@gmail.com> - 2013-05-31 04:22 +1000
        Re: How clean/elegant is Python's syntax? Ma Xiaojun <damage3025@gmail.com> - 2013-05-31 01:46 +0800
        Re: How clean/elegant is Python's syntax? Chris Angelico <rosuav@gmail.com> - 2013-05-31 03:50 +1000
        Re: How clean/elegant is Python's syntax? Ma Xiaojun <damage3025@gmail.com> - 2013-05-31 01:50 +0800
        Re: How clean/elegant is Python's syntax? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-30 19:36 +0000
    Re: How clean/elegant is Python's syntax? Michael Torrie <torriem@gmail.com> - 2013-05-30 17:30 -0600

csiph-web