[Tutor] Which GUI?
Luke Paireepinart
rabidpoobear at gmail.com
Wed Aug 1 05:36:47 CEST 2007
Terry Carroll wrote:
> On Wed, 1 Aug 2007, Ian Witham wrote:
>
>
>> I'm no expert (yet) but I have come across this fun online tool which helps
>> you choose a GUI toolkit for Python:
>>
>> Choose Your GUI Toolkit <http://www.awaretek.com/toolkits.html>
>>
>
> I think it's rigged. I answered it honestly, and it suggested wxPython,
> which is no surprise; I came to the same conclusion myself based on my
> needs and preferences.
>
> But no matter how I adjusted the parameters, it always suggested wxPython.
>
> I just input a 1 on every factor, except "Popularity, installed base",
> where I put in 100. Surely that should suggest Tkinter, which comes
> pre-installed with Python,right?
>
> Nope. "wxPython is the GUI for you!"
>
A quick view of the source code of the page finds the relative weights
in the javascript:
var scorePyGUI = (easelearning * 50) + (maturity * 10) + (pop * 30) + (paint * 10) + (windows * 10) + (linux * 100) + (mac * 100) + (pda * 10);
var scoreTkinter = (easelearning * 30) + (maturity * 100) + (pop * 100) + (paint * 50) + (windows * 50) + (linux * 80) + (mac * 70) + (pda * 0);
var scoreEasygui = (easelearning * 100) + (maturity * 10) + (pop * 10) + (paint * 10) + (windows * 50) + (linux * 70) + (mac * 70) + (pda * 0);
var scorewxPython = (easelearning * 33) + (maturity * 100) + (pop * 120) + (paint * 100) + (windows * 100) + (linux * 100) + (mac * 90) + (pda * 10);
var scorePythonCard = (easelearning * 90) + (maturity * 30) + (pop * 40) + (paint * 10) + (windows * 100) + (linux * 50) + (mac * 50) + (pda * 0);
var scorepyQt = (easelearning * 20) + (maturity * 100) + (pop * 60) + (paint * 50) + (windows * 70) + (linux * 100) + (mac * 20) + (pda * 70);
var scorepyGtk = (easelearning * 20) + (maturity * 100) + (pop * 60) + (paint * 90) + (windows * 40) + (linux * 80) + (mac * 25) + (pda * 0);
var scoreJython = (easelearning * 25) + (maturity * 75) + (pop * 50) + (paint * 10) + (windows * 80) + (linux * 80) + (mac * 80) + (pda * 100);
var scoreAnygui = (easelearning * 40) + (maturity * 20) + (pop * 10) + (paint * 10) + (windows * 90) + (linux * 90) + (mac * 50) + (pda * 10);
var scorefxPy = (easelearning * 20) + (maturity * 50 ) + (pop * 20) + (paint * 0) + (windows * 75) + (linux * 90) + (mac * 20) + (pda * 0);
var scorepyFLTK = (easelearning * 50) + (maturity * 35) + (pop * 10) + (paint * 0) + (windows * 75) + (linux * 90) + (mac * 20) + (pda * 0);
Seems like wxPython's scores are a little biased, maybe.
Especially that 120 for popularity, when no other GUI toolkit got more
than 100 for any other category.
Interpret this as you will :)
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
More information about the Tutor
mailing list