How clean/elegant is Python's syntax?

Ma Xiaojun damage3025 at gmail.com
Thu May 30 04:54:14 EDT 2013


On Thu, May 30, 2013 at 2:18 PM, Steven D'Aprano
<steve+comp.lang.python at 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.



More information about the Python-list mailing list