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 -- http://mail.python.org/mailman/listinfo/python-list