New to Python

Alberto Monteiro albmont at centroin.com.br
Mon Mar 12 12:07:31 CET 2007


I wrote:
> 
>> Hi, I am new to Python, how stupid can be the questions I ask?
>> 
>> For example, how can I add (mathematically) two tuples?
>> x = (1,2)
>> y = (3,4)
>> How can I get z = (1 + 3, 2 + 4) ?

Wow, I really didn't expect that my silly little newbie question
would get so many _different_ answers!

What is the best way to get documentation about the functions
and classes of python? I tried to google, but usually I can just
find the __doc__ of the objects, without examples or anything that
can help me use it.

Alberto Monteiro




More information about the Python-list mailing list