GUI:-please answer want to learn GUI programming in python , how should i proceed.
rantingrickjohnson at gmail.com
Tue Dec 17 06:37:07 CET 2013
On Sunday, December 15, 2013 11:01:53 AM UTC-6, Steven D'Aprano wrote:
> On Sun, 15 Dec 2013 14:53:45 +0000, Grant Edwards wrote:
> > On 2013-12-14, Steven D'Aprano wrote:
> > You seem to be equating "was compiled from" with "includes an
> > implemenation of". Do you say that CPython "ships with C"?
> Well, when you take my comments out of their context, that
> does seem to be a totally stupid thing to say. But in
> context, it's only *mostly* stupid, and mostly stupid
> means a little bit sensible *wink* The context was a
> complaint, or at least expression of surprise, that Python
> use Tcl for a GUI, this being contrasted with
> (paraphrasing the legions of people who have expressed
> surprise about this in the past) "some hypothetical GUI
> written in Python". But in practice, it won't be written
> in Python, it will be likely written in C or some other
> low-level language with some interface to Python. The main
> difference between this hypothetical "Python GUI" and Tcl
> is that Tcl is a Turing-complete interpreter which lives
> in it's own process.
And how many times would you take advantage of that "turning
complete" functionality in reality? My answer... ZERO! How
many Tcl calls have you, or anybody, made that did have
direct business with creating or managing a TK gui? HOW
We don't need that functionality, we ALREADY have a
language... it's called Python and the syntax is MUCH
better. All we want is a damn GUI.
And trying to justify TCL as legit because "Tcl just calls C
routines" is ludicrous. If the intention is to extend C
routines, then by gawd EXTEND them. Don't go writing a whole
new turning complete monstrosity and forcing all calls to
travel through it's front door, sit in waiting room until
it's eyes bleed, before finally exiting out the back door on
it's way to "Cees-ville".
Why should i give a damn about Tcl? All it does is get in my
way. OTOH, if Tcl where more like a Vegas Casino for high
rollers, i might be inclined to overlook the "superfluous
pit-stop". A free luxury room , free all you can eat buffet,
free call girls, etc... but it has no endearing qualities.
More information about the Python-list