some questions about Python and tkinter

fabdeb fabrice.witkowski at gmail.com
Thu Oct 18 12:47:51 EDT 2007


On Oct 16, 9:17 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Tue, 16 Oct 2007 11:52:22 -0700, fabdeb wrote:
> > the first: what is the differences between a function and a classe?
>
> A class bundles data and functions into one object.
>
> > In which case i should use a function ?
> > In which case i should use a class ?
>
> If you have several functions that operate on the same data it might make
> sense to put all into a class to treat them as one "unit".
>
> > The second: there is some pincipals gui toolkit: tkinter , Python Mega-
> > Widgets, PyGTK, PyQt, FxPy, WxPy
>
> > what are the advantages of each one, and in which case i use each of
> > them?
>
> `Tkinter` is part of the standard library.  If you use that or one of the
> others is a matter of taste to some degree.  In a GNOME environment PyGTK
> may look more natural, under KDE a PyQt or PyKDE based GUI may feel more
> "native".  Another factor for a decision might be the license of the GUI
> toolkit.
>
> Ciao,
>         Marc 'BlackJack' Rintsch

Thanks for all your links and responses .
I have a better comprehension of what i have to do for my program.




More information about the Python-list mailing list