[Tutor] Python Branches

Alan Gauld alan.gauld at btinternet.com
Wed Jan 24 12:11:45 CET 2007


"vanam" <vgvr620034 at gmail.com> wrote in message 
news:bedebdfb0701232251y41a44194u4f988614eb01d543 at mail.gmail.com...
>i started slowly learning python as i dont have much exposure to it 
>and  i
> wanted to know what are all branches there in python

I assume by branches you mean all the different libraries available?
Thats difficult to answer because there are literally hundreds if not
thousands available. Anything not in the core release will need to
be synchronised with the core release before you can use it. Thus
a library built for version 2.4 may need slight modification before
it can be used in version 2.5. That is the responsibility of the
library author. (Or if its open source you might try doing it
yourself!)

> 2.5 recently i come across question in groups about the gui where in 
> pygtk
> should be installed.

That will also usually depend on the author of the library.
They normally provide an installation script that puts it in
the right place for your platform.

> My question is without this installation could i able to
> develop any application using py2.5?

You can develop standard Python applications but you
couldn't develop anything using pygtk until you install it.

> One more thing is what is tkinter?

Tkinter is the standard GUI toolkit library for Python.
It is based on the Tcl/Tk toolkit and as such is not particularly
modern in appearance, but it is widely supported, well documented
and fairly easy to use and extend. pygtk is a similar library based
on the GTk GUI toolit.

The other two popular GUI libraries for Python are wxPython
and pyQT.

If that doesn't answer your questions can you be more
specific, possibly with more examples?

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 




More information about the Tutor mailing list