Re: [Tutor] Python Branches

2007-01-24 Thread Alan Gauld

"vanam" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>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 


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Python Branches

2007-01-24 Thread Kent Johnson
vanam wrote:
> 
> 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 actually i 
> installed py 2.5 recently i come across question in groups about the gui 
> where in pygtk should be installed.My question is without this 
> installation could i able to develop any application using py2.5?One 
> more thing is what is tkinter?Can  any one explain what are all branches 
> in python and how it could be used?

You need to install pygtk if you want to develop applications that use 
the GTK GUI toolkit.

I don't know what you mean by "branches", can you explain?

Kent

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Python Branches

2007-01-23 Thread Luke Paireepinart
vanam wrote:
>
> 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 actually i 
> installed py 2.5 recently i come across question in groups about the 
> gui where in pygtk should be installed.My question is without this 
> installation could i able to develop any application using py2.5?
Well, that depends what the meaning of the word 'any' is.
Do you mean 'any' to be one or more possible applications or do you mean 
it to be all possible applications?
Yes, you can write many programs with the base python install.
Potentially you could write any program; however, the point is not to 
rewrite code that someone has already done.
That's the purpose of libraries.
For example, python comes with a 'math' library which allows you to 
calculate sines and cosines of angles without having to understand
the process by which someone calculates these values.
> One more thing is what is tkinter?Can  any one explain what are all 
> branches in python and how it could be used?
pygtk and tkinter are libraries that people have written to let you 
write applications containing GUIs.
pygtk is a separate download; tkinter comes with most Python distributions.
> -- 
>   
>Vanam
> 
>
> ___
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>   

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor